Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.UnitDeduction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Blocks.UnitDeduction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Asec.y|PI.x|PID.D.x|PID.I.y|PID1.D.x|PID1.I.y|Vsec.y|Wsec.y|derivative.x|firstOrder.y|inertia.phi|inertia.w|integrator.y|limIntegrator.y|secondOrder.y|secondOrder.yd",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.UnitDeduction") translateModel(ModelicaTest.Blocks.UnitDeduction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Asec.y|PI.x|PID.D.x|PID.I.y|PID1.D.x|PID1.I.y|Vsec.y|Wsec.y|derivative.x|firstOrder.y|inertia.phi|inertia.w|integrator.y|limIntegrator.y|secondOrder.y|secondOrder.yd",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.UnitDeduction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008785/0.0008785, allocations: 89.19 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009477/0.0009477, allocations: 197.1 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.57/1.57, allocations: 227.3 MB / 246.6 MB, free: 12.03 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2511/0.2511, allocations: 45.91 MB / 344.7 MB, free: 12.26 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002747/0.0002747, allocations: 4 kB / 418.6 MB, free: 20.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1606/0.1609, allocations: 63.48 MB / 482.1 MB, free: 5.418 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.UnitDeduction): time 0.004501/0.1655, allocations: 3.441 MB / 485.6 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002389/0.1679, allocations: 1.193 MB / 486.8 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003831/0.1683, allocations: 27.88 kB / 486.8 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002821/0.1686, allocations: 71.23 kB / 486.9 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004857/0.1691, allocations: 138.9 kB / 487 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006826/0.1698, allocations: 298.8 kB / 487.3 MB, free: 236 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007891/0.1706, allocations: 0.7371 MB / 488 MB, free: 15.49 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004001/0.171, allocations: 220.8 kB / 488.2 MB, free: 15.26 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004067/0.1714, allocations: 254.7 kB / 488.5 MB, free: 15.01 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003109/0.1717, allocations: 254.5 kB / 488.7 MB, free: 14.76 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.99e-05/0.1718, allocations: 24 kB / 488.8 MB, free: 14.74 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.098e-05/0.1719, allocations: 24 kB / 488.8 MB, free: 14.71 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.172, allocations: 103.5 kB / 488.9 MB, free: 14.61 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001227/0.1721, allocations: 137.3 kB / 489 MB, free: 14.47 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000639/0.1728, allocations: 0.5494 MB / 489.6 MB, free: 13.92 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.1728, allocations: 0 / 489.6 MB, free: 13.92 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.407e-06/0.1728, allocations: 0 / 489.6 MB, free: 13.92 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.139e-05/0.1728, allocations: 3.938 kB / 489.6 MB, free: 13.92 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.001959/0.1748, allocations: 0.9425 MB / 490.5 MB, free: 12.92 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.1749, allocations: 8.031 kB / 490.5 MB, free: 12.91 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002591/0.1751, allocations: 107 kB / 490.6 MB, free: 12.81 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007111/0.1758, allocations: 498.4 kB / 491.1 MB, free: 12.28 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.315e-05/0.1759, allocations: 37.31 kB / 491.1 MB, free: 12.24 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.136e-05/0.176, allocations: 60 kB / 491.2 MB, free: 12.18 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001027/0.177, allocations: 0.6279 MB / 491.8 MB, free: 11.5 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.921e-05/0.1771, allocations: 4 kB / 491.8 MB, free: 11.49 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.06e-05/0.1771, allocations: 20 kB / 491.9 MB, free: 11.47 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.99e-05/0.1771, allocations: 16 kB / 491.9 MB, free: 11.46 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007453/0.1779, allocations: 398.2 kB / 492.3 MB, free: 11.07 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003998/0.1819, allocations: 3.044 MB / 495.3 MB, free: 7.883 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009662/0.1829, allocations: 469.5 kB / 495.8 MB, free: 7.406 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000384/0.1833, allocations: 182.2 kB / 495.9 MB, free: 7.223 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.948e-05/0.1833, allocations: 8 kB / 495.9 MB, free: 7.215 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.755e-05/0.1834, allocations: 42.59 kB / 496 MB, free: 7.164 MB / 366.1 MB Notification: Performance of pre-optimization done (n=39): time 2.114e-06/0.1834, allocations: 0 / 496 MB, free: 7.164 MB / 366.1 MB Notification: Performance of matching and sorting (n=39): time 0.001209/0.1846, allocations: 0.5636 MB / 496.6 MB, free: 6.594 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/0.1847, allocations: 148.4 kB / 496.7 MB, free: 6.418 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000627/0.1853, allocations: 0.5431 MB / 497.2 MB, free: 5.863 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.861e-05/0.1854, allocations: 33.7 kB / 497.3 MB, free: 5.824 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002871/0.1857, allocations: 376 kB / 497.6 MB, free: 5.449 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001399/0.1858, allocations: 149.8 kB / 497.8 MB, free: 5.301 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.378e-05/0.1859, allocations: 16 kB / 497.8 MB, free: 5.285 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001895/0.1861, allocations: 378.8 kB / 498.2 MB, free: 4.906 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003971/0.1865, allocations: 181.2 kB / 498.3 MB, free: 4.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000535/0.187, allocations: 413.9 kB / 498.8 MB, free: 4.227 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000463/0.1875, allocations: 232.8 kB / 499 MB, free: 4 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.1875, allocations: 0 / 499 MB, free: 4 MB / 366.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001176/0.1887, allocations: 0.6643 MB / 499.6 MB, free: 3.328 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002352/0.1889, allocations: 290.2 kB / 499.9 MB, free: 2.949 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.189, allocations: 4 kB / 499.9 MB, free: 2.945 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.35e-05/0.189, allocations: 12 kB / 499.9 MB, free: 2.934 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005367/0.1895, allocations: 151.7 kB / 0.4884 GB, free: 2.785 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.57e-05/0.1896, allocations: 8 kB / 0.4884 GB, free: 2.777 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003583/0.1899, allocations: 83.31 kB / 0.4885 GB, free: 2.695 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.035e-05/0.19, allocations: 28 kB / 0.4885 GB, free: 2.668 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.675e-06/0.19, allocations: 11.94 kB / 0.4885 GB, free: 2.656 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009454/0.1909, allocations: 0.5465 MB / 0.489 GB, free: 2.109 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.191, allocations: 4 kB / 0.489 GB, free: 2.105 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.191, allocations: 12 kB / 0.489 GB, free: 2.094 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004606/0.1915, allocations: 139.8 kB / 0.4892 GB, free: 1.957 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/0.1915, allocations: 11.94 kB / 0.4892 GB, free: 1.945 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003332/0.1918, allocations: 71.64 kB / 0.4893 GB, free: 1.875 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.383e-05/0.1919, allocations: 24 kB / 0.4893 GB, free: 1.852 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 7 (Asec.local_reset,Vsec.local_reset,Wsec.local_reset,PID1.I.local_reset,PID.I.local_reset,limIntegrator.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003038/0.1922, allocations: 275.1 kB / 0.4895 GB, free: 1.574 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001236/0.1923, allocations: 63.25 kB / 0.4896 GB, free: 1.512 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001932/0.1925, allocations: 82.09 kB / 0.4897 GB, free: 1.43 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.797e-06/0.1925, allocations: 4 kB / 0.4897 GB, free: 1.426 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.105e-05/0.1925, allocations: 0 / 0.4897 GB, free: 1.426 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.777e-06/0.1926, allocations: 3.938 kB / 0.4897 GB, free: 1.422 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009054/0.1935, allocations: 0.5789 MB / 0.4903 GB, free: 0.793 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.1935, allocations: 4 kB / 0.4903 GB, free: 0.7891 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004694/0.194, allocations: 91.88 kB / 0.4903 GB, free: 0.6992 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.752e-06/0.194, allocations: 4 kB / 0.4904 GB, free: 0.6953 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.206e-05/0.194, allocations: 12 kB / 0.4904 GB, free: 0.6836 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.194, allocations: 7.938 kB / 0.4904 GB, free: 0.6758 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.194, allocations: 0 / 0.4904 GB, free: 0.6758 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001381/0.1954, allocations: 0.8116 MB / 0.4912 GB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001919/0.1956, allocations: 164.4 kB / 0.4913 GB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.922e-05/0.1957, allocations: 11.98 kB / 0.4913 GB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003048/0.196, allocations: 27.98 kB / 0.4914 GB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.687e-05/0.1961, allocations: 27.95 kB / 0.4914 GB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.307e-05/0.1961, allocations: 12 kB / 0.4914 GB, free: 15.59 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004266/0.1966, allocations: 379.1 kB / 0.4918 GB, free: 15.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1966, allocations: 0 / 0.4918 GB, free: 15.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008269/0.1974, allocations: 243.1 kB / 0.492 GB, free: 14.99 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 16 (Wsec.y,Vsec.y,Asec.y,integrator.y,inertia.phi,inertia.w,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,PI.x,PID.I.y,PID.D.x,PID1.I.y,PID1.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001491/0.1976, allocations: 107.2 kB / 0.4921 GB, free: 14.87 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001421/0.199, allocations: 0.7482 MB / 0.4928 GB, free: 14.12 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.199, allocations: 4 kB / 0.4928 GB, free: 14.12 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003658/0.1994, allocations: 201.2 kB / 0.493 GB, free: 13.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009445/0.2003, allocations: 161.2 kB / 0.4932 GB, free: 13.77 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002464/0.2028, allocations: 1.719 MB / 0.4948 GB, free: 12.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005755/0.2034, allocations: 0.9146 MB / 0.4957 GB, free: 11.08 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001562/0.2036, allocations: 47.44 kB / 0.4958 GB, free: 11.03 MB / 382.1 MB Notification: Performance of SimCode: time 1.403e-06/0.2036, allocations: 0 / 0.4958 GB, free: 11.03 MB / 382.1 MB Notification: Performance of Templates: time 0.01242/0.216, allocations: 7.638 MB / 0.5032 GB, free: 3.418 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.UnitDeduction.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.UnitDeduction.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_trunk_ModelicaTest.Blocks.UnitDeductionCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Blocks.UnitDeductionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Blocks.UnitDeductionCalcHelperMain.o] Error 1