Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.Continuous_InitialState,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_4.0.0_ModelicaTest.Blocks.Continuous_InitialState") translateModel(ModelicaTest.Blocks.Continuous_InitialState,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_4.0.0_ModelicaTest.Blocks.Continuous_InitialState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008213/0.0008213, allocations: 87.53 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008288/0.0008287, allocations: 182.4 kB / 18.52 MB, free: 5.168 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 223.2 MB / 242.5 MB, free: 14.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2179/0.2179, allocations: 44.23 MB / 337.9 MB, free: 2.566 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003406/0.0003406, allocations: 12 kB / 410.3 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1416, allocations: 61.92 MB / 472.2 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialState): time 0.004252/0.1459, allocations: 2.82 MB / 475 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003371/0.1493, allocations: 1.474 MB / 476.5 MB, free: 9.395 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004578/0.1498, allocations: 19.88 kB / 476.5 MB, free: 9.375 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000527/0.1504, allocations: 103.2 kB / 476.6 MB, free: 9.273 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004694/0.1509, allocations: 159 kB / 476.8 MB, free: 9.117 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0012/0.1521, allocations: 418.7 kB / 477.2 MB, free: 8.711 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009951/0.1531, allocations: 0.7874 MB / 477.9 MB, free: 7.922 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003841/0.1535, allocations: 173 kB / 478.1 MB, free: 7.742 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004501/0.1539, allocations: 286.6 kB / 478.4 MB, free: 7.461 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000477/0.1544, allocations: 330.3 kB / 478.7 MB, free: 7.137 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.554e-05/0.1545, allocations: 24 kB / 478.7 MB, free: 7.113 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.014e-05/0.1546, allocations: 20 kB / 478.8 MB, free: 7.094 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001986/0.1548, allocations: 151.3 kB / 478.9 MB, free: 6.945 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001272/0.1549, allocations: 129.3 kB / 479 MB, free: 6.812 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006079/0.1555, allocations: 0.5378 MB / 479.6 MB, free: 6.273 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.047e-06/0.1555, allocations: 0 / 479.6 MB, free: 6.273 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.699e-06/0.1556, allocations: 4 kB / 479.6 MB, free: 6.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.365e-05/0.1556, allocations: 0 / 479.6 MB, free: 6.27 MB / 350.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.002477/0.1581, allocations: 1.063 MB / 480.6 MB, free: 5.156 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.45e-05/0.1581, allocations: 8.031 kB / 480.7 MB, free: 5.148 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001703/0.1583, allocations: 86.97 kB / 480.7 MB, free: 5.062 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009938/0.1593, allocations: 0.5304 MB / 481.3 MB, free: 4.492 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.213e-05/0.1594, allocations: 37 kB / 481.3 MB, free: 4.457 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001064/0.1595, allocations: 59.95 kB / 481.4 MB, free: 4.398 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001245/0.1607, allocations: 0.6291 MB / 482 MB, free: 3.711 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.267e-05/0.1608, allocations: 0 / 482 MB, free: 3.711 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.293e-05/0.1609, allocations: 20 kB / 482 MB, free: 3.691 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.932e-05/0.1609, allocations: 12 kB / 482 MB, free: 3.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001105/0.162, allocations: 0.4905 MB / 482.5 MB, free: 3.191 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003907/0.1659, allocations: 2.694 MB / 485.2 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001223/0.1671, allocations: 0.588 MB / 485.8 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005617/0.1677, allocations: 266.4 kB / 486.1 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.847e-05/0.1678, allocations: 11.89 kB / 486.1 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.107e-05/0.1678, allocations: 38.56 kB / 486.1 MB, free: 15.45 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.693e-06/0.1678, allocations: 0 / 486.1 MB, free: 15.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.0025/0.1704, allocations: 1.21 MB / 487.3 MB, free: 14.23 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.913e-05/0.1705, allocations: 132.5 kB / 487.4 MB, free: 14.07 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008728/0.1713, allocations: 0.6451 MB / 488.1 MB, free: 13.42 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.279e-05/0.1714, allocations: 33.7 kB / 488.1 MB, free: 13.38 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000294/0.1717, allocations: 368 kB / 488.5 MB, free: 13.02 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001517/0.1718, allocations: 169.5 kB / 488.6 MB, free: 12.85 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.253e-05/0.1719, allocations: 12 kB / 488.7 MB, free: 12.84 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.1721, allocations: 330 kB / 489 MB, free: 12.51 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005981/0.1727, allocations: 297.1 kB / 489.3 MB, free: 12.22 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007237/0.1734, allocations: 445.1 kB / 489.7 MB, free: 11.71 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000639/0.174, allocations: 333.1 kB / 490 MB, free: 11.39 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.1741, allocations: 8 kB / 490 MB, free: 11.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001547/0.1756, allocations: 0.8378 MB / 490.9 MB, free: 10.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001652/0.1758, allocations: 220.1 kB / 491.1 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/0.1758, allocations: 4 kB / 491.1 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.585e-05/0.1758, allocations: 8 kB / 491.1 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006876/0.1765, allocations: 163.7 kB / 491.3 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.67e-05/0.1766, allocations: 8 kB / 491.3 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004678/0.177, allocations: 91.62 kB / 491.4 MB, free: 9.996 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.423e-05/0.1771, allocations: 20 kB / 491.4 MB, free: 9.977 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.224e-06/0.1771, allocations: 4 kB / 491.4 MB, free: 9.973 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00141/0.1785, allocations: 0.7259 MB / 492.1 MB, free: 9.246 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.954e-06/0.1785, allocations: 4 kB / 492.1 MB, free: 9.242 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.1786, allocations: 11.94 kB / 492.1 MB, free: 9.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005796/0.1791, allocations: 152.1 kB / 492.3 MB, free: 9.082 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/0.1792, allocations: 8 kB / 492.3 MB, free: 9.074 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004407/0.1796, allocations: 87.47 kB / 492.4 MB, free: 8.988 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.053e-05/0.1797, allocations: 28 kB / 492.4 MB, free: 8.961 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.0003477/0.18, allocations: 293.7 kB / 492.7 MB, free: 8.664 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001506/0.1802, allocations: 79.02 kB / 492.8 MB, free: 8.586 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001943/0.1804, allocations: 90.22 kB / 492.8 MB, free: 8.492 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.1804, allocations: 4 kB / 492.8 MB, free: 8.488 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.1804, allocations: 0 / 492.8 MB, free: 8.488 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.1804, allocations: 11.92 kB / 492.9 MB, free: 8.477 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001279/0.1817, allocations: 0.8532 MB / 493.7 MB, free: 7.566 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.1817, allocations: 0 / 493.7 MB, free: 7.566 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005965/0.1823, allocations: 119.8 kB / 493.8 MB, free: 7.449 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.1823, allocations: 4 kB / 493.8 MB, free: 7.445 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.714e-05/0.1824, allocations: 15.98 kB / 493.8 MB, free: 7.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.1824, allocations: 4 kB / 493.9 MB, free: 7.426 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.1824, allocations: 0 / 493.9 MB, free: 7.426 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00192/0.1843, allocations: 1.196 MB / 495 MB, free: 6.207 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002241/0.1846, allocations: 204.1 kB / 495.2 MB, free: 5.988 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.77e-05/0.1847, allocations: 16 kB / 495.3 MB, free: 5.973 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004864/0.1852, allocations: 59.94 kB / 495.3 MB, free: 5.914 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.1853, allocations: 43.88 kB / 495.4 MB, free: 5.871 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.677e-05/0.1853, allocations: 8 kB / 495.4 MB, free: 5.863 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006571/0.186, allocations: 459 kB / 495.8 MB, free: 5.418 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.186, allocations: 0 / 495.8 MB, free: 5.418 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000779/0.1868, allocations: 196 kB / 496 MB, free: 5.227 MB / 366.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.0001561/0.1869, allocations: 115.2 kB / 496.1 MB, free: 5.105 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002044/0.189, allocations: 1.005 MB / 497.1 MB, free: 4.102 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.189, allocations: 0 / 497.1 MB, free: 4.102 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006315/0.1896, allocations: 318.7 kB / 497.4 MB, free: 3.793 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001015/0.1907, allocations: 171.1 kB / 497.6 MB, free: 3.629 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002809/0.1935, allocations: 1.764 MB / 499.4 MB, free: 1.82 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006089/0.1941, allocations: 0.9575 MB / 0.4886 GB, free: 0.8359 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002176/0.1943, allocations: 51.42 kB / 0.4887 GB, free: 0.7852 MB / 366.1 MB Notification: Performance of SimCode: time 7.72e-07/0.1943, allocations: 0 / 0.4887 GB, free: 0.7852 MB / 366.1 MB Notification: Performance of Templates: time 0.01383/0.2082, allocations: 8.62 MB / 0.4971 GB, free: 8.195 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialState.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialState.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_4.0.0_ModelicaTest.Blocks.Continuous_InitialStateCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialStateCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialStateCalcHelperMain.o] Error 1