Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.Continuous.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.Continuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|criticalDamping.x.1.|criticalDamping.x.2.|derivative.x|firstOrder.y|integrator.y|limIntegrator.y|limPID.D.x|limPID.I.y|lowpassButterworth.x1.1.|lowpassButterworth.x2.1.|pI.x|pID.D.x|pID.I.y|secondOrder.y|secondOrder.yd|stateSpace.x.1.|stateSpace.x.2.|transferFunction.x_scaled.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.Continuous") translateModel(ModelicaTest.Blocks.Continuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|criticalDamping.x.1.|criticalDamping.x.2.|derivative.x|firstOrder.y|integrator.y|limIntegrator.y|limPID.D.x|limPID.I.y|lowpassButterworth.x1.1.|lowpassButterworth.x2.1.|pI.x|pID.D.x|pID.I.y|secondOrder.y|secondOrder.yd|stateSpace.x.1.|stateSpace.x.2.|transferFunction.x_scaled.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.Continuous") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001034/0.001034, allocations: 92.78 kB / 17.63 MB, free: 6.156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001487/0.001487, allocations: 198.2 kB / 18.54 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.565/1.565, allocations: 227.3 MB / 246.6 MB, free: 11.9 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2493/0.2493, allocations: 45.91 MB / 344.7 MB, free: 12.24 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003/0.0003001, allocations: 8 kB / 418.7 MB, free: 20.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1619, allocations: 63.45 MB / 482.1 MB, free: 5.426 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous): time 0.00388/0.1658, allocations: 2.805 MB / 484.9 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00335/0.1692, allocations: 1.517 MB / 486.4 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00077/0.17, allocations: 19.88 kB / 486.4 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007081/0.1707, allocations: 107.2 kB / 486.6 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008228/0.1715, allocations: 151 kB / 486.7 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001761/0.1733, allocations: 430.9 kB / 487.1 MB, free: 396 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001696/0.175, allocations: 0.7836 MB / 487.9 MB, free: 15.6 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004825/0.1755, allocations: 173.2 kB / 488.1 MB, free: 15.42 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007361/0.1763, allocations: 294.5 kB / 488.4 MB, free: 15.13 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007172/0.177, allocations: 330.3 kB / 488.7 MB, free: 14.81 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000238/0.1773, allocations: 20 kB / 488.7 MB, free: 14.79 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001716/0.1774, allocations: 24 kB / 488.7 MB, free: 14.77 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002947/0.1777, allocations: 155.4 kB / 488.9 MB, free: 14.61 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001724/0.1779, allocations: 133.3 kB / 489 MB, free: 14.48 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005961/0.1785, allocations: 0.5378 MB / 489.5 MB, free: 13.94 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/0.1785, allocations: 0 / 489.5 MB, free: 13.94 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1786, allocations: 0 / 489.5 MB, free: 13.94 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.748e-06/0.1786, allocations: 0 / 489.5 MB, free: 13.94 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.002139/0.1807, allocations: 1.055 MB / 490.6 MB, free: 12.83 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.1808, allocations: 8.031 kB / 490.6 MB, free: 12.82 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000274/0.1811, allocations: 98.95 kB / 490.7 MB, free: 12.73 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009311/0.182, allocations: 0.5382 MB / 491.2 MB, free: 12.15 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.305e-05/0.1821, allocations: 40.94 kB / 491.3 MB, free: 12.11 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.924e-05/0.1822, allocations: 56 kB / 491.3 MB, free: 12.05 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00122/0.1834, allocations: 0.6377 MB / 492 MB, free: 11.36 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.72e-05/0.1834, allocations: 3.938 kB / 492 MB, free: 11.35 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.179e-05/0.1835, allocations: 19.98 kB / 492 MB, free: 11.33 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.433e-05/0.1835, allocations: 12 kB / 492 MB, free: 11.32 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001158/0.1847, allocations: 0.4938 MB / 492.5 MB, free: 10.83 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00407/0.1888, allocations: 2.686 MB / 495.2 MB, free: 8.039 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001246/0.19, allocations: 0.5806 MB / 495.8 MB, free: 7.434 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006017/0.1906, allocations: 269.5 kB / 496 MB, free: 7.164 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.678e-05/0.1907, allocations: 4.094 kB / 496 MB, free: 7.16 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.231e-05/0.1908, allocations: 46.5 kB / 496.1 MB, free: 7.105 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.783e-06/0.1908, allocations: 0 / 496.1 MB, free: 7.105 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002546/0.1933, allocations: 1.215 MB / 497.3 MB, free: 5.879 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001377/0.1935, allocations: 162.2 kB / 497.5 MB, free: 5.684 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009059/0.1944, allocations: 0.6412 MB / 498.1 MB, free: 5.031 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.129e-05/0.1945, allocations: 37.7 kB / 498.1 MB, free: 4.988 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003588/0.1948, allocations: 368 kB / 498.5 MB, free: 4.621 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002124/0.195, allocations: 173.5 kB / 498.7 MB, free: 4.449 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.461e-05/0.1951, allocations: 12 kB / 498.7 MB, free: 4.438 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001972/0.1953, allocations: 330 kB / 499 MB, free: 4.109 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006368/0.1959, allocations: 281.1 kB / 499.3 MB, free: 3.836 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008143/0.1968, allocations: 461 kB / 499.7 MB, free: 3.316 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000673/0.1974, allocations: 334 kB / 0.4883 GB, free: 2.992 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.1975, allocations: 0 / 0.4883 GB, free: 2.992 MB / 366.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001662/0.1991, allocations: 0.8341 MB / 0.4891 GB, free: 2.152 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002289/0.1994, allocations: 217.8 kB / 0.4894 GB, free: 1.875 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/0.1994, allocations: 4 kB / 0.4894 GB, free: 1.871 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.618e-05/0.1994, allocations: 11.95 kB / 0.4894 GB, free: 1.859 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006863/0.2001, allocations: 159.8 kB / 0.4895 GB, free: 1.703 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.936e-05/0.2002, allocations: 15.94 kB / 0.4895 GB, free: 1.688 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004553/0.2006, allocations: 87.67 kB / 0.4896 GB, free: 1.602 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.495e-05/0.2007, allocations: 27.98 kB / 0.4896 GB, free: 1.574 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.254e-06/0.2007, allocations: 7.938 kB / 0.4897 GB, free: 1.566 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001458/0.2022, allocations: 0.7192 MB / 0.4904 GB, free: 0.8477 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.2022, allocations: 4.531 kB / 0.4904 GB, free: 0.8438 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.734e-06/0.2022, allocations: 12 kB / 0.4904 GB, free: 0.832 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006506/0.2028, allocations: 147.8 kB / 0.4905 GB, free: 0.6875 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.088e-05/0.2029, allocations: 15.92 kB / 0.4905 GB, free: 0.6719 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004768/0.2034, allocations: 87.55 kB / 0.4906 GB, free: 0.5859 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.371e-05/0.2034, allocations: 24 kB / 0.4906 GB, free: 0.5625 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (limPID.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 (77): * Single equations (assignments): 77 * 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.0004006/0.2038, allocations: 293.6 kB / 0.4909 GB, free: 272 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001769/0.204, allocations: 75.06 kB / 0.491 GB, free: 196 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00023/0.2043, allocations: 86.22 kB / 0.4911 GB, free: 108 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.2043, allocations: 8 kB / 0.4911 GB, free: 100 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.52e-05/0.2043, allocations: 4 kB / 0.4911 GB, free: 96 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/0.2043, allocations: 3.984 kB / 0.4911 GB, free: 92 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001663/0.206, allocations: 0.8609 MB / 0.4919 GB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.206, allocations: 4 kB / 0.4919 GB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000639/0.2066, allocations: 111.9 kB / 0.492 GB, free: 15.06 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.151e-06/0.2067, allocations: 7.938 kB / 0.492 GB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.947e-05/0.2067, allocations: 12 kB / 0.4921 GB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.933e-06/0.2067, allocations: 8 kB / 0.4921 GB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.2067, allocations: 4 kB / 0.4921 GB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002288/0.209, allocations: 1.211 MB / 0.4932 GB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002991/0.2093, allocations: 196.2 kB / 0.4934 GB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.284e-05/0.2094, allocations: 12 kB / 0.4934 GB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004817/0.2099, allocations: 63.94 kB / 0.4935 GB, free: 13.51 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/0.21, allocations: 39.94 kB / 0.4935 GB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.761e-05/0.2101, allocations: 8 kB / 0.4936 GB, free: 13.46 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006697/0.2108, allocations: 459 kB / 0.494 GB, free: 13.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2108, allocations: 0 / 0.494 GB, free: 13.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000883/0.2117, allocations: 192 kB / 0.4942 GB, free: 12.83 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (limPID.I.y,limPID.D.x,transferFunction.x_scaled[1],stateSpace.x[1],stateSpace.x[2],lowpassButterworth.x1[1],lowpassButterworth.x2[1],criticalDamping.x[1],criticalDamping.x[2],integrator.y,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,pI.x,pID.I.y,pID.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 (44): * Single equations (assignments): 44 * 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.0001813/0.2119, allocations: 119 kB / 0.4943 GB, free: 12.71 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002278/0.2141, allocations: 1.012 MB / 0.4953 GB, free: 11.7 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/0.2142, allocations: 4 kB / 0.4953 GB, free: 11.7 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006577/0.2148, allocations: 307.6 kB / 0.4956 GB, free: 11.39 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/0.2159, allocations: 173.4 kB / 0.4957 GB, free: 11.23 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002851/0.2188, allocations: 1.75 MB / 0.4974 GB, free: 9.434 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007001/0.2195, allocations: 0.9536 MB / 0.4984 GB, free: 8.453 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000205/0.2197, allocations: 43.44 kB / 0.4984 GB, free: 8.41 MB / 382.1 MB Notification: Performance of SimCode: time 1.002e-06/0.2197, allocations: 0 / 0.4984 GB, free: 8.41 MB / 382.1 MB Notification: Performance of Templates: time 0.2872/0.5069, allocations: 8.633 MB / 0.5068 GB, free: 40.92 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.Continuous.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.Continuous.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.ContinuousCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Blocks.ContinuousCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Blocks.ContinuousCalcHelperMain.o] Error 1