Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater") translateModel(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001538/0.001539, allocations: 106 kB / 16.52 MB, free: 6.266 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.0014/0.0014, allocations: 195.5 kB / 17.44 MB, free: 5.887 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.954/1.954, allocations: 205.1 MB / 223.3 MB, free: 12.47 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2479/0.2479, allocations: 43.5 MB / 314.1 MB, free: 0.7539 MB / 254.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.001819/0.001819, allocations: 68.81 kB / 382.7 MB, free: 57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1501, allocations: 57.79 MB / 440.5 MB, free: 7.516 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.006585/0.1568, allocations: 4.984 MB / 445.4 MB, free: 2.492 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004195/0.161, allocations: 4.59 MB / 450 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001081/0.1611, allocations: 0 / 450 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003088/0.1615, allocations: 43.73 kB / 450.1 MB, free: 13.84 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002282/0.1638, allocations: 0.6063 MB / 450.7 MB, free: 13.23 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004399/0.1642, allocations: 159.2 kB / 450.8 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006433/0.1649, allocations: 438 kB / 451.3 MB, free: 12.65 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.468e-05/0.165, allocations: 17.67 kB / 451.3 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002402/0.1652, allocations: 147.4 kB / 451.4 MB, free: 12.49 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002003/0.1654, allocations: 135.4 kB / 451.6 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.132e-05/0.1655, allocations: 8 kB / 451.6 MB, free: 12.35 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009528/0.1664, allocations: 355.5 kB / 451.9 MB, free: 12 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.451e-05/0.1665, allocations: 39.83 kB / 452 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001291/0.1667, allocations: 107.5 kB / 452.1 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004541/0.1671, allocations: 295.6 kB / 452.4 MB, free: 11.57 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1671, allocations: 0 / 452.4 MB, free: 11.57 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1671, allocations: 0 / 452.4 MB, free: 11.57 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.057e-06/0.1671, allocations: 0 / 452.4 MB, free: 11.57 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001114/0.1683, allocations: 0.5827 MB / 452.9 MB, free: 10.94 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.1683, allocations: 8.031 kB / 452.9 MB, free: 10.93 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001577/0.1685, allocations: 32.73 kB / 453 MB, free: 10.9 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002787/0.1688, allocations: 228.1 kB / 453.2 MB, free: 10.64 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001732/0.169, allocations: 119.9 kB / 453.3 MB, free: 10.5 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.868e-05/0.169, allocations: 24.38 kB / 453.3 MB, free: 10.47 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005588/0.1696, allocations: 327.6 kB / 453.7 MB, free: 10.12 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.1696, allocations: 0 / 453.7 MB, free: 10.12 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.903e-05/0.1696, allocations: 12 kB / 453.7 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.174e-05/0.1697, allocations: 11.94 kB / 453.7 MB, free: 10.1 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009206/0.1706, allocations: 0.743 MB / 454.4 MB, free: 9.359 MB / 334.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001603/0.1722, allocations: 1.257 MB / 455.7 MB, free: 7.996 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003414/0.1726, allocations: 154.5 kB / 455.8 MB, free: 7.836 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001497/0.1727, allocations: 72.58 kB / 455.9 MB, free: 7.762 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002636/0.1754, allocations: 2.659 MB / 458.6 MB, free: 4.59 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.1754, allocations: 34.56 kB / 458.6 MB, free: 4.547 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.573e-06/0.1754, allocations: 0 / 458.6 MB, free: 4.547 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007885/0.1762, allocations: 216.9 kB / 458.8 MB, free: 4.328 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.68e-05/0.1763, allocations: 59.34 kB / 458.9 MB, free: 4.258 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002056/0.1765, allocations: 206.9 kB / 459.1 MB, free: 4.047 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.894e-05/0.1766, allocations: 33.7 kB / 459.1 MB, free: 4.008 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000166/0.1767, allocations: 206.8 kB / 459.3 MB, free: 3.801 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.765e-05/0.1768, allocations: 55.28 kB / 459.4 MB, free: 3.746 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/0.1769, allocations: 85.94 kB / 459.4 MB, free: 3.656 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.1771, allocations: 330.8 kB / 459.8 MB, free: 3.324 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.148e-05/0.1772, allocations: 52.78 kB / 459.8 MB, free: 3.273 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000327/0.1775, allocations: 322.1 kB / 460.1 MB, free: 2.82 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004442/0.178, allocations: 421.2 kB / 460.5 MB, free: 2.273 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-06/0.178, allocations: 4 kB / 460.5 MB, free: 2.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005695/0.1786, allocations: 376.9 kB / 460.9 MB, free: 1.895 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/0.1786, allocations: 8 kB / 460.9 MB, free: 1.887 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/0.1786, allocations: 8.844 kB / 460.9 MB, free: 1.879 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.59e-05/0.1786, allocations: 16 kB / 460.9 MB, free: 1.863 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003324/0.179, allocations: 111.8 kB / 461.1 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.649e-05/0.179, allocations: 19.92 kB / 461.1 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002401/0.1793, allocations: 16 kB / 461.1 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.625e-05/0.1794, allocations: 31.98 kB / 461.1 MB, free: 1.688 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (51): * Single equations (assignments): 50 * Array equations: 1 * 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.0001395/0.1795, allocations: 153.5 kB / 461.3 MB, free: 1.527 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.217e-05/0.1796, allocations: 19.81 kB / 461.3 MB, free: 1.508 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000331/0.1799, allocations: 154.8 kB / 461.4 MB, free: 1.352 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.304e-05/0.1799, allocations: 7.938 kB / 461.4 MB, free: 1.344 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.1799, allocations: 0 / 461.4 MB, free: 1.344 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.1799, allocations: 4 kB / 461.5 MB, free: 1.34 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005878/0.1805, allocations: 439.2 kB / 461.9 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.1806, allocations: 0 / 461.9 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001829/0.1807, allocations: 35.86 kB / 461.9 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.1808, allocations: 0 / 461.9 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.1808, allocations: 8 kB / 461.9 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.751e-06/0.1808, allocations: 7.922 kB / 461.9 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1808, allocations: 0 / 461.9 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002544/0.1811, allocations: 216.1 kB / 462.1 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.1812, allocations: 100.8 kB / 462.2 MB, free: 464 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.451e-05/0.1812, allocations: 7.938 kB / 462.2 MB, free: 456 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001921/0.1814, allocations: 11.98 kB / 462.3 MB, free: 444 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.031e-05/0.1815, allocations: 7.984 kB / 462.3 MB, free: 436 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-05/0.1815, allocations: 11.98 kB / 462.3 MB, free: 424 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001286/0.1816, allocations: 152.5 kB / 462.4 MB, free: 276 kB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1816, allocations: 0 / 462.4 MB, free: 276 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004787/0.1821, allocations: 100 kB / 462.5 MB, free: 176 kB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (14): * Single equations (assignments): 13 * Array equations: 1 * 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.0005169/0.1826, allocations: 171.2 kB / 462.7 MB, free: 15.99 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003365/0.183, allocations: 177 kB / 462.9 MB, free: 15.82 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.183, allocations: 0 / 462.9 MB, free: 15.82 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.03e-05/0.1831, allocations: 35.92 kB / 462.9 MB, free: 15.79 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004622/0.1835, allocations: 57.47 kB / 463 MB, free: 15.73 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.1846, allocations: 0.5988 MB / 463.6 MB, free: 15.1 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003472/0.1849, allocations: 0.7287 MB / 464.3 MB, free: 14.34 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.631e-05/0.185, allocations: 35.44 kB / 464.3 MB, free: 14.31 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.185, allocations: 0 / 464.3 MB, free: 14.31 MB / 350.1 MB Notification: Performance of Templates: time 0.006569/0.1916, allocations: 3.431 MB / 467.8 MB, free: 10.88 MB / 350.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.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 OMCppModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWaterCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWaterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWaterCalcHelperMain.o] Error 1