Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.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) 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(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001141/0.001141, allocations: 87.98 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.001868/0.001867, allocations: 196.8 kB / 18.54 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.803/1.803, allocations: 227.3 MB / 246.6 MB, free: 12.01 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002814/0.0002815, allocations: 4 kB / 307.3 MB, free: 1.641 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1471, allocations: 51.49 MB / 358.8 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.005274/0.1524, allocations: 4.018 MB / 362.8 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002008/0.1545, allocations: 1.675 MB / 364.5 MB, free: 8.426 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.535e-05/0.1546, allocations: 3.938 kB / 364.5 MB, free: 8.422 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000302/0.1549, allocations: 31.81 kB / 364.5 MB, free: 8.391 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003753/0.1553, allocations: 111.4 kB / 364.6 MB, free: 8.281 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006581/0.156, allocations: 218.8 kB / 364.8 MB, free: 8.074 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004177/0.1564, allocations: 322.8 kB / 365.1 MB, free: 7.758 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.198e-05/0.1565, allocations: 9.125 kB / 365.2 MB, free: 7.75 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002882/0.1567, allocations: 123.5 kB / 365.3 MB, free: 7.629 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001444/0.1569, allocations: 75.73 kB / 365.3 MB, free: 7.555 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.668e-05/0.1569, allocations: 4 kB / 365.3 MB, free: 7.551 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002325/0.1572, allocations: 79.89 kB / 365.4 MB, free: 7.473 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.626e-05/0.1573, allocations: 43.88 kB / 365.5 MB, free: 7.43 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.571e-05/0.1573, allocations: 49.64 kB / 365.5 MB, free: 7.375 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002573/0.1576, allocations: 147.9 kB / 365.7 MB, free: 7.23 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.1576, allocations: 0 / 365.7 MB, free: 7.23 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.176e-06/0.1576, allocations: 0 / 365.7 MB, free: 7.23 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.052e-06/0.1576, allocations: 0 / 365.7 MB, free: 7.23 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0009452/0.1586, allocations: 455.2 kB / 366.1 MB, free: 6.734 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/0.1586, allocations: 12.02 kB / 366.1 MB, free: 6.723 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001613/0.1588, allocations: 19.81 kB / 366.1 MB, free: 6.703 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002524/0.1591, allocations: 206.8 kB / 366.3 MB, free: 6.461 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.1591, allocations: 12.28 kB / 366.4 MB, free: 6.449 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.909e-05/0.1591, allocations: 12 kB / 366.4 MB, free: 6.438 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004327/0.1596, allocations: 213.5 kB / 366.6 MB, free: 6.207 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.1596, allocations: 7.906 kB / 366.6 MB, free: 6.199 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.324e-05/0.1596, allocations: 7.938 kB / 366.6 MB, free: 6.191 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.1596, allocations: 4 kB / 366.6 MB, free: 6.188 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003473/0.16, allocations: 155.8 kB / 366.7 MB, free: 6.035 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001282/0.1613, allocations: 0.944 MB / 367.7 MB, free: 5.016 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003738/0.1617, allocations: 146.8 kB / 367.8 MB, free: 4.863 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001337/0.1618, allocations: 56.77 kB / 367.9 MB, free: 4.805 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005827/0.1624, allocations: 0.5188 MB / 368.4 MB, free: 4.223 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.704e-05/0.1625, allocations: 30.56 kB / 368.4 MB, free: 4.184 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.413e-06/0.1625, allocations: 0 / 368.4 MB, free: 4.184 MB / 302.1 MB Notification: Performance of matching and sorting (n=20): time 0.00246/0.1649, allocations: 0.7596 MB / 369.2 MB, free: 3.371 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.517e-05/0.165, allocations: 51.41 kB / 369.2 MB, free: 3.309 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/0.1652, allocations: 154.8 kB / 369.4 MB, free: 3.148 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.034e-05/0.1652, allocations: 33.7 kB / 369.4 MB, free: 3.109 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.1653, allocations: 143.8 kB / 369.6 MB, free: 2.965 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.278e-05/0.1654, allocations: 67.03 kB / 369.6 MB, free: 2.898 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.873e-05/0.1654, allocations: 8 kB / 369.6 MB, free: 2.891 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.1656, allocations: 322.8 kB / 370 MB, free: 2.566 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002274/0.1658, allocations: 91.69 kB / 370 MB, free: 2.477 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002915/0.1661, allocations: 185.8 kB / 370.2 MB, free: 2.246 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002592/0.1664, allocations: 104.5 kB / 370.3 MB, free: 2.148 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.301e-06/0.1664, allocations: 7.984 kB / 370.3 MB, free: 2.141 MB / 302.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006707/0.167, allocations: 314.3 kB / 370.6 MB, free: 1.828 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.1671, allocations: 11.98 kB / 370.7 MB, free: 1.816 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.1671, allocations: 8.469 kB / 370.7 MB, free: 1.809 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.209e-05/0.1671, allocations: 11.95 kB / 370.7 MB, free: 1.797 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003487/0.1675, allocations: 79.89 kB / 370.8 MB, free: 1.719 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.494e-05/0.1675, allocations: 8 kB / 370.8 MB, free: 1.711 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002013/0.1677, allocations: 19.92 kB / 370.8 MB, free: 1.691 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.64e-05/0.1678, allocations: 16 kB / 370.8 MB, free: 1.676 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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.0001465/0.1679, allocations: 134.9 kB / 370.9 MB, free: 1.535 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.409e-05/0.168, allocations: 19.81 kB / 370.9 MB, free: 1.516 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006334/0.1686, allocations: 240.8 kB / 371.2 MB, free: 1.281 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.1686, allocations: 4 kB / 371.2 MB, free: 1.277 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.1686, allocations: 0 / 371.2 MB, free: 1.277 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.1686, allocations: 3.938 kB / 371.2 MB, free: 1.273 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001201/0.1699, allocations: 0.6017 MB / 371.8 MB, free: 0.6055 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.1699, allocations: 0 / 371.8 MB, free: 0.6055 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002781/0.1702, allocations: 51.95 kB / 371.8 MB, free: 0.5547 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.1702, allocations: 4 kB / 371.8 MB, free: 0.5508 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.437e-05/0.1702, allocations: 4 kB / 371.9 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.1702, allocations: 0 / 371.9 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/0.1702, allocations: 11.92 kB / 371.9 MB, free: 0.5352 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007866/0.171, allocations: 402.7 kB / 372.3 MB, free: 116 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.106e-05/0.1711, allocations: 92.91 kB / 372.3 MB, free: 4 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.2531/0.4242, allocations: 6.922 kB / 372.4 MB, free: 20.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003565/0.4246, allocations: 11.06 kB / 372.4 MB, free: 20.27 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.047e-05/0.4247, allocations: 15.31 kB / 372.4 MB, free: 20.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.359e-05/0.4247, allocations: 10.75 kB / 372.4 MB, free: 20.27 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001409/0.4249, allocations: 107.6 kB / 372.5 MB, free: 20.2 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.4249, allocations: 2.469 kB / 372.5 MB, free: 20.2 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005383/0.4254, allocations: 62.17 kB / 372.6 MB, free: 20.2 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (medium.T) * 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 (20): * Single equations (assignments): 20 * 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.0002384/0.4257, allocations: 120.6 kB / 372.7 MB, free: 20.11 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007029/0.4264, allocations: 219.5 kB / 372.9 MB, free: 20.11 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.4264, allocations: 0.6875 kB / 372.9 MB, free: 20.11 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002734/0.4267, allocations: 94.28 kB / 373 MB, free: 20.11 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004634/0.4271, allocations: 41.45 kB / 373 MB, free: 20.11 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/0.4283, allocations: 0.5831 MB / 373.6 MB, free: 19.81 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000202/0.4285, allocations: 0.7202 MB / 374.3 MB, free: 19.11 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001133/0.4286, allocations: 32.14 kB / 374.4 MB, free: 19.11 MB / 302.1 MB Notification: Performance of SimCode: time 6.51e-07/0.4286, allocations: 0 / 374.4 MB, free: 19.11 MB / 302.1 MB Notification: Performance of Templates: time 0.006383/0.435, allocations: 2.581 MB / 376.9 MB, free: 18.92 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.makefile make -j1 -f Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.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 OMCppModelica_trunk_Modelica.Media.Examples.SimpleLiquidWaterCalcHelperMain.o OMCppModelica_trunk_Modelica.Media.Examples.SimpleLiquidWaterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Media.Examples.SimpleLiquidWaterCalcHelperMain.o] Error 1