Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 101 kB / 17.96 MB, free: 5.766 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.001325/0.001325, allocations: 177.1 kB / 18.86 MB, free: 4.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.996/1.996, allocations: 205.4 MB / 225 MB, free: 13.07 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005441/0.0005441, allocations: 8 kB / 282 MB, free: 3.426 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1305, allocations: 47.58 MB / 329.6 MB, free: 3.781 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.00512/0.1357, allocations: 4.125 MB / 333.7 MB, free: 15.62 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002017/0.1377, allocations: 1.791 MB / 335.5 MB, free: 13.82 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.112e-05/0.1378, allocations: 0 / 335.5 MB, free: 13.82 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002448/0.138, allocations: 39.8 kB / 335.6 MB, free: 13.79 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003143/0.1384, allocations: 115.3 kB / 335.7 MB, free: 13.67 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006015/0.139, allocations: 235.4 kB / 335.9 MB, free: 13.44 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004311/0.1394, allocations: 362.8 kB / 336.2 MB, free: 13.09 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.343e-05/0.1395, allocations: 24.88 kB / 336.3 MB, free: 13.06 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002593/0.1398, allocations: 119.5 kB / 336.4 MB, free: 12.95 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001428/0.1399, allocations: 87.66 kB / 336.5 MB, free: 12.86 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.592e-05/0.1399, allocations: 11.94 kB / 336.5 MB, free: 12.85 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002371/0.1402, allocations: 103.9 kB / 336.6 MB, free: 12.75 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.773e-05/0.1403, allocations: 27.91 kB / 336.6 MB, free: 12.72 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001144/0.1404, allocations: 105.3 kB / 336.7 MB, free: 12.61 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002534/0.1407, allocations: 147.9 kB / 336.9 MB, free: 12.46 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.196e-05/0.1407, allocations: 4 kB / 336.9 MB, free: 12.46 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.1407, allocations: 0 / 336.9 MB, free: 12.46 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.573e-06/0.1407, allocations: 0 / 336.9 MB, free: 12.46 MB / 286.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.0009814/0.1417, allocations: 451.3 kB / 337.3 MB, free: 11.97 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.651e-05/0.1418, allocations: 12.02 kB / 337.3 MB, free: 11.96 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001762/0.1419, allocations: 24.75 kB / 337.3 MB, free: 11.94 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002586/0.1422, allocations: 204.2 kB / 337.5 MB, free: 11.7 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.1422, allocations: 8.656 kB / 337.6 MB, free: 11.69 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.581e-05/0.1423, allocations: 20.28 kB / 337.6 MB, free: 11.67 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004467/0.1427, allocations: 216.8 kB / 337.8 MB, free: 11.44 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.1428, allocations: 0 / 337.8 MB, free: 11.44 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.109e-05/0.1428, allocations: 8 kB / 337.8 MB, free: 11.43 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.1428, allocations: 4 kB / 337.8 MB, free: 11.43 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003666/0.1432, allocations: 151.8 kB / 337.9 MB, free: 11.28 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001412/0.1446, allocations: 0.9363 MB / 338.9 MB, free: 10.27 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003926/0.145, allocations: 150.7 kB / 339 MB, free: 10.11 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000143/0.1452, allocations: 56.83 kB / 339.1 MB, free: 10.05 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005736/0.1458, allocations: 0.5031 MB / 339.6 MB, free: 9.484 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.1458, allocations: 42.56 kB / 339.6 MB, free: 9.434 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 1.362e-06/0.1458, allocations: 0 / 339.6 MB, free: 9.434 MB / 286.1 MB Notification: Performance of matching and sorting (n=20): time 0.00256/0.1484, allocations: 0.7635 MB / 340.4 MB, free: 8.617 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/0.1484, allocations: 59.34 kB / 340.4 MB, free: 8.547 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001568/0.1486, allocations: 154.3 kB / 340.6 MB, free: 8.387 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.278e-05/0.1486, allocations: 33.7 kB / 340.6 MB, free: 8.348 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.975e-05/0.1487, allocations: 135.8 kB / 340.8 MB, free: 8.211 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.945e-05/0.1488, allocations: 74.94 kB / 340.8 MB, free: 8.137 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.342e-05/0.1489, allocations: 33.7 kB / 340.9 MB, free: 8.098 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.149, allocations: 322.8 kB / 341.2 MB, free: 7.773 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002444/0.1493, allocations: 83.94 kB / 341.3 MB, free: 7.691 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003241/0.1496, allocations: 193.2 kB / 341.5 MB, free: 7.453 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000587/0.1502, allocations: 298.1 kB / 341.7 MB, free: 7.113 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1502, allocations: 0 / 341.7 MB, free: 7.113 MB / 286.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007002/0.1509, allocations: 321 kB / 342.1 MB, free: 6.793 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.151, allocations: 8 kB / 342.1 MB, free: 6.785 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.151, allocations: 4 kB / 342.1 MB, free: 6.781 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.151, allocations: 4 kB / 342.1 MB, free: 6.777 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003499/0.1514, allocations: 88.28 kB / 342.2 MB, free: 6.691 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.526e-05/0.1514, allocations: 11.94 kB / 342.2 MB, free: 6.68 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002198/0.1516, allocations: 19.98 kB / 342.2 MB, free: 6.66 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.612e-05/0.1517, allocations: 16 kB / 342.2 MB, free: 6.645 MB / 286.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001476/0.1518, allocations: 137.7 kB / 342.3 MB, free: 6.5 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.702e-05/0.1519, allocations: 15.81 kB / 342.4 MB, free: 6.484 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006584/0.1525, allocations: 242.6 kB / 342.6 MB, free: 6.246 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.1525, allocations: 7.984 kB / 342.6 MB, free: 6.238 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.1526, allocations: 0 / 342.6 MB, free: 6.238 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/0.1526, allocations: 0 / 342.6 MB, free: 6.238 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001245/0.1538, allocations: 0.6023 MB / 343.2 MB, free: 5.57 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.1538, allocations: 0 / 343.2 MB, free: 5.57 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002757/0.1541, allocations: 56.03 kB / 343.3 MB, free: 5.516 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.1541, allocations: 3.984 kB / 343.3 MB, free: 5.512 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.543e-05/0.1542, allocations: 8 kB / 343.3 MB, free: 5.504 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.118e-06/0.1542, allocations: 7.938 kB / 343.3 MB, free: 5.496 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.1542, allocations: 3.938 kB / 343.3 MB, free: 5.492 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008506/0.1551, allocations: 402.6 kB / 343.7 MB, free: 5.07 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.082e-05/0.1551, allocations: 92.98 kB / 343.8 MB, free: 4.961 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.773e-05/0.1552, allocations: 11.94 kB / 343.8 MB, free: 4.949 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002285/0.1554, allocations: 11.98 kB / 343.8 MB, free: 4.938 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.714e-05/0.1555, allocations: 11.98 kB / 343.8 MB, free: 4.926 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.431e-05/0.1555, allocations: 15.98 kB / 343.8 MB, free: 4.91 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.931e-05/0.1556, allocations: 103.3 kB / 343.9 MB, free: 4.809 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1556, allocations: 0 / 343.9 MB, free: 4.809 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003685/0.156, allocations: 63.98 kB / 344 MB, free: 4.746 MB / 286.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002662/0.1562, allocations: 135.1 kB / 344.1 MB, free: 4.602 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000572/0.1568, allocations: 219.6 kB / 344.3 MB, free: 4.387 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 7.054e-06/0.1568, allocations: 0 / 344.3 MB, free: 4.387 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002396/0.1571, allocations: 93 kB / 344.4 MB, free: 4.297 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004227/0.1575, allocations: 40.28 kB / 344.5 MB, free: 4.258 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001092/0.1586, allocations: 0.5936 MB / 345.1 MB, free: 3.621 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000305/0.1589, allocations: 0.7167 MB / 345.8 MB, free: 2.879 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.159, allocations: 31.42 kB / 345.8 MB, free: 2.848 MB / 286.1 MB Notification: Performance of SimCode: time 2.2e-07/0.159, allocations: 0 / 345.8 MB, free: 2.848 MB / 286.1 MB Notification: Performance of Templates: time 0.004815/0.1639, allocations: 2.638 MB / 348.4 MB, free: 204 kB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.makefile make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWaterCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWaterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWaterCalcHelperMain.o] Error 1