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.001534/0.001534, allocations: 105.5 kB / 17.81 MB, free: 5.695 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.001748/0.001748, allocations: 190 kB / 18.72 MB, free: 4.781 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.827/1.827, allocations: 205.1 MB / 224.6 MB, free: 12.48 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.001456/0.001456, allocations: 47.92 kB / 280.6 MB, free: 3.609 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1228, allocations: 46.64 MB / 327.2 MB, free: 4.906 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.009239/0.132, allocations: 4.495 MB / 331.7 MB, free: 380 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002618/0.1347, allocations: 1.818 MB / 333.6 MB, free: 14.55 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001566/0.1349, allocations: 0 / 333.6 MB, free: 14.55 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003156/0.1353, allocations: 47.78 kB / 333.6 MB, free: 14.5 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004238/0.1357, allocations: 107.3 kB / 333.7 MB, free: 14.39 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007302/0.1365, allocations: 231.5 kB / 333.9 MB, free: 14.17 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005044/0.137, allocations: 370.8 kB / 334.3 MB, free: 13.8 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.448e-05/0.137, allocations: 16.89 kB / 334.3 MB, free: 13.79 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003632/0.1374, allocations: 119.5 kB / 334.4 MB, free: 13.67 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001802/0.1376, allocations: 87.59 kB / 334.5 MB, free: 13.59 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.213e-05/0.1376, allocations: 8 kB / 334.5 MB, free: 13.58 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003251/0.138, allocations: 99.88 kB / 334.6 MB, free: 13.48 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.67e-05/0.1381, allocations: 39.88 kB / 334.7 MB, free: 13.44 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001185/0.1382, allocations: 67.72 kB / 334.7 MB, free: 13.38 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003014/0.1385, allocations: 151.9 kB / 334.9 MB, free: 13.23 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1385, allocations: 0 / 334.9 MB, free: 13.23 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1385, allocations: 0 / 334.9 MB, free: 13.23 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.174e-06/0.1385, allocations: 0 / 334.9 MB, free: 13.23 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.001048/0.1396, allocations: 495.3 kB / 335.4 MB, free: 12.7 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.1397, allocations: 8.031 kB / 335.4 MB, free: 12.69 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002135/0.1399, allocations: 24.73 kB / 335.4 MB, free: 12.66 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002562/0.1401, allocations: 216.1 kB / 335.6 MB, free: 12.41 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.1402, allocations: 8.656 kB / 335.6 MB, free: 12.41 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.106e-05/0.1402, allocations: 12.38 kB / 335.6 MB, free: 12.39 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004472/0.1407, allocations: 220.8 kB / 335.8 MB, free: 12.16 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.1407, allocations: 0 / 335.8 MB, free: 12.16 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.329e-05/0.1407, allocations: 12 kB / 335.8 MB, free: 12.14 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.1407, allocations: 4 kB / 335.8 MB, free: 12.14 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003779/0.1411, allocations: 147.8 kB / 336 MB, free: 12 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001395/0.1425, allocations: 0.9402 MB / 336.9 MB, free: 10.98 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000394/0.1429, allocations: 150.7 kB / 337.1 MB, free: 10.82 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001531/0.1431, allocations: 56.83 kB / 337.1 MB, free: 10.77 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006004/0.1437, allocations: 0.507 MB / 337.6 MB, free: 10.2 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.1438, allocations: 34.5 kB / 337.7 MB, free: 10.15 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 4.388e-06/0.1438, allocations: 4 kB / 337.7 MB, free: 10.15 MB / 286.1 MB Notification: Performance of matching and sorting (n=20): time 0.00264/0.1464, allocations: 0.7746 MB / 338.5 MB, free: 9.32 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.859e-05/0.1465, allocations: 63.39 kB / 338.5 MB, free: 9.246 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/0.1466, allocations: 142.4 kB / 338.7 MB, free: 9.098 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.59e-05/0.1466, allocations: 29.7 kB / 338.7 MB, free: 9.062 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.108e-05/0.1467, allocations: 139.8 kB / 338.8 MB, free: 8.922 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.524e-05/0.1468, allocations: 82.92 kB / 338.9 MB, free: 8.84 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.238e-05/0.1469, allocations: 57.7 kB / 339 MB, free: 8.777 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.147, allocations: 322.8 kB / 339.3 MB, free: 8.453 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002437/0.1473, allocations: 83.94 kB / 339.4 MB, free: 8.371 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002915/0.1476, allocations: 197.1 kB / 339.5 MB, free: 8.129 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005897/0.1482, allocations: 290.2 kB / 339.8 MB, free: 7.797 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1482, allocations: 4 kB / 339.8 MB, free: 7.793 MB / 286.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006916/0.1489, allocations: 325.3 kB / 340.2 MB, free: 7.469 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.1489, allocations: 8 kB / 340.2 MB, free: 7.461 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.1489, allocations: 4 kB / 340.2 MB, free: 7.457 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.149, allocations: 4 kB / 340.2 MB, free: 7.453 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003606/0.1493, allocations: 87.81 kB / 340.3 MB, free: 7.367 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.1494, allocations: 4 kB / 340.3 MB, free: 7.363 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002347/0.1496, allocations: 15.98 kB / 340.3 MB, free: 7.348 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.919e-05/0.1496, allocations: 20.09 kB / 340.3 MB, free: 7.328 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.0001388/0.1498, allocations: 137.7 kB / 340.4 MB, free: 7.184 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.639e-05/0.1499, allocations: 19.75 kB / 340.4 MB, free: 7.164 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000631/0.1505, allocations: 234.7 kB / 340.7 MB, free: 6.934 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.1505, allocations: 4 kB / 340.7 MB, free: 6.93 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.1505, allocations: 0 / 340.7 MB, free: 6.93 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.1505, allocations: 11.92 kB / 340.7 MB, free: 6.918 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001285/0.1518, allocations: 0.5923 MB / 341.3 MB, free: 6.258 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/0.1518, allocations: 4 kB / 341.3 MB, free: 6.254 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002814/0.1521, allocations: 51.89 kB / 341.3 MB, free: 6.203 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.025e-06/0.1522, allocations: 4 kB / 341.3 MB, free: 6.199 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.56e-05/0.1522, allocations: 11.94 kB / 341.4 MB, free: 6.188 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.753e-06/0.1522, allocations: 12.06 kB / 341.4 MB, free: 6.176 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1522, allocations: 0 / 341.4 MB, free: 6.176 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008135/0.153, allocations: 406.5 kB / 341.8 MB, free: 5.75 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.787e-05/0.1531, allocations: 92.95 kB / 341.9 MB, free: 5.641 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.001e-05/0.1531, allocations: 7.938 kB / 341.9 MB, free: 5.633 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002489/0.1534, allocations: 15.98 kB / 341.9 MB, free: 5.617 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.661e-05/0.1535, allocations: 12.05 kB / 341.9 MB, free: 5.605 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.611e-05/0.1535, allocations: 15.98 kB / 341.9 MB, free: 5.59 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.728e-05/0.1536, allocations: 111.2 kB / 342 MB, free: 5.48 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1536, allocations: 0 / 342 MB, free: 5.48 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004012/0.154, allocations: 56 kB / 342.1 MB, free: 5.426 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.000391/0.1544, allocations: 131.2 kB / 342.2 MB, free: 5.285 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006215/0.155, allocations: 216.4 kB / 342.4 MB, free: 5.074 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.155, allocations: 4.062 kB / 342.4 MB, free: 5.07 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000236/0.1553, allocations: 95.81 kB / 342.5 MB, free: 4.977 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004311/0.1557, allocations: 40.61 kB / 342.5 MB, free: 4.938 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00121/0.1569, allocations: 0.5412 MB / 343.1 MB, free: 4.352 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003318/0.1573, allocations: 0.7167 MB / 343.8 MB, free: 3.609 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001283/0.1574, allocations: 27.42 kB / 343.8 MB, free: 3.582 MB / 286.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1574, allocations: 0 / 343.8 MB, free: 3.582 MB / 286.1 MB Notification: Performance of Templates: time 0.005986/0.1634, allocations: 2.642 MB / 346.5 MB, free: 0.9336 MB / 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