Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.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.Media.TestAllProperties.LinearWater_pT_Ambient,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_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient") translateModel(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,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_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008527/0.0008527, allocations: 94.38 kB / 18 MB, free: 5.602 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.000841/0.000841, allocations: 180.5 kB / 18.91 MB, free: 4.734 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.477/1.477, allocations: 223.3 MB / 242.9 MB, free: 14.29 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.2405/0.2405, allocations: 44.25 MB / 338.3 MB, free: 2.379 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003701/0.0003701, allocations: 13.3 kB / 411 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.1617, allocations: 61.92 MB / 472.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.03692/0.1987, allocations: 27.79 MB / 0.489 GB, free: 1.406 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003528/0.2023, allocations: 2.968 MB / 0.4919 GB, free: 14.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001311/0.2025, allocations: 4 kB / 0.4919 GB, free: 14.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003239/0.2028, allocations: 47.72 kB / 0.4919 GB, free: 14.38 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001967/0.2048, allocations: 0.6491 MB / 0.4925 GB, free: 13.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003471/0.2051, allocations: 139.2 kB / 0.4927 GB, free: 13.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006167/0.2058, allocations: 438.1 kB / 0.4931 GB, free: 13.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.773e-05/0.2058, allocations: 13.67 kB / 0.4931 GB, free: 13.15 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3571/0.563, allocations: 14.43 MB / 0.5072 GB, free: 22.51 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005027/0.5635, allocations: 153.4 kB / 0.5073 GB, free: 22.51 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.893e-05/0.5636, allocations: 7.344 kB / 0.5073 GB, free: 22.51 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008355/0.5719, allocations: 3.427 MB / 0.5107 GB, free: 21.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001062/0.5721, allocations: 45 kB / 0.5107 GB, free: 21.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002024/0.5723, allocations: 138 kB / 0.5109 GB, free: 21.55 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007141/0.573, allocations: 322.2 kB / 0.5112 GB, free: 21.55 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.091e-05/0.573, allocations: 4.453 kB / 0.5112 GB, free: 21.55 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.037e-06/0.573, allocations: 0 / 0.5112 GB, free: 21.55 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.573, allocations: 0 / 0.5112 GB, free: 21.55 MB / 382.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.00104/0.5741, allocations: 0.5525 MB / 0.5117 GB, free: 21.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.5741, allocations: 8.719 kB / 0.5117 GB, free: 21.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001387/0.5743, allocations: 25.56 kB / 0.5117 GB, free: 21.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002119/0.5745, allocations: 229.5 kB / 0.512 GB, free: 20.95 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000103/0.5746, allocations: 122.9 kB / 0.5121 GB, free: 20.82 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.084e-05/0.5746, allocations: 22.47 kB / 0.5121 GB, free: 20.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005016/0.5751, allocations: 327.3 kB / 0.5124 GB, free: 20.72 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.5752, allocations: 1.672 kB / 0.5124 GB, free: 20.72 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.907e-05/0.5752, allocations: 11.94 kB / 0.5124 GB, free: 20.72 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.135e-05/0.5752, allocations: 7.109 kB / 0.5124 GB, free: 20.72 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009842/0.5762, allocations: 0.7376 MB / 0.5132 GB, free: 20.72 MB / 382.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.001247/0.5775, allocations: 1.299 MB / 0.5144 GB, free: 19.71 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003377/0.5778, allocations: 160.8 kB / 0.5146 GB, free: 19.68 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001452/0.578, allocations: 92.22 kB / 0.5147 GB, free: 19.67 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001981/0.58, allocations: 2.807 MB / 0.5174 GB, free: 16.79 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.822e-05/0.58, allocations: 36.44 kB / 0.5174 GB, free: 16.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 3.106e-06/0.58, allocations: 5.094 kB / 0.5174 GB, free: 16.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002705/0.5803, allocations: 121.8 kB / 0.5176 GB, free: 16.7 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.67e-05/0.5803, allocations: 53.39 kB / 0.5176 GB, free: 16.64 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002181/0.5806, allocations: 228.1 kB / 0.5178 GB, free: 16.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.5806, allocations: 27.14 kB / 0.5179 GB, free: 16.49 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.5807, allocations: 215.2 kB / 0.5181 GB, free: 16.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.914e-05/0.5808, allocations: 44.52 kB / 0.5181 GB, free: 16.29 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.43e-05/0.5808, allocations: 44.36 kB / 0.5181 GB, free: 16.27 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.295e-05/0.5809, allocations: 331 kB / 0.5185 GB, free: 15.96 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.994e-05/0.581, allocations: 48.69 kB / 0.5185 GB, free: 15.96 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002601/0.5813, allocations: 340.5 kB / 0.5188 GB, free: 15.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003695/0.5817, allocations: 444.5 kB / 0.5193 GB, free: 15.17 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.5817, allocations: 9.375 kB / 0.5193 GB, free: 15.17 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005835/0.5823, allocations: 378 kB / 0.5196 GB, free: 15.12 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.5823, allocations: 10.69 kB / 0.5196 GB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.92e-05/0.5823, allocations: 11.8 kB / 0.5196 GB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.005e-05/0.5824, allocations: 21.5 kB / 0.5197 GB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002703/0.5826, allocations: 99.09 kB / 0.5198 GB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.505e-05/0.5827, allocations: 19.36 kB / 0.5198 GB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002663/0.5829, allocations: 62.8 kB / 0.5198 GB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.361e-05/0.583, allocations: 28.8 kB / 0.5199 GB, free: 15.09 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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.0001405/0.5831, allocations: 146 kB / 0.52 GB, free: 14.97 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.449e-05/0.5832, allocations: 18.08 kB / 0.52 GB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002845/0.5835, allocations: 151.7 kB / 0.5202 GB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/0.5835, allocations: 5.312 kB / 0.5202 GB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.5835, allocations: 1.375 kB / 0.5202 GB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.5835, allocations: 4.656 kB / 0.5202 GB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004078/0.5839, allocations: 407.9 kB / 0.5206 GB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.584, allocations: 0.7969 kB / 0.5206 GB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.259e-05/0.584, allocations: 15.67 kB / 0.5206 GB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.584, allocations: 3.156 kB / 0.5206 GB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.208e-06/0.584, allocations: 1.266 kB / 0.5206 GB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.5841, allocations: 4.938 kB / 0.5206 GB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.5841, allocations: 4.094 kB / 0.5206 GB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001581/0.5842, allocations: 207.4 kB / 0.5208 GB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.41e-05/0.5843, allocations: 105.7 kB / 0.5209 GB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.175e-05/0.5843, allocations: 4.547 kB / 0.5209 GB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000141/0.5845, allocations: 12.3 kB / 0.5209 GB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.049e-05/0.5845, allocations: 8.75 kB / 0.5209 GB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.331e-05/0.5845, allocations: 5.734 kB / 0.5209 GB, free: 14.29 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001451/0.5847, allocations: 155.2 kB / 0.5211 GB, free: 14.21 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5847, allocations: 1.469 kB / 0.5211 GB, free: 14.21 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005673/0.5853, allocations: 89.36 kB / 0.5212 GB, free: 14.21 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (9): * Single equations (assignments): 8 * 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.0003121/0.5856, allocations: 159.4 kB / 0.5213 GB, free: 14.11 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003518/0.5859, allocations: 173.4 kB / 0.5215 GB, free: 14.11 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.5859, allocations: 0.9375 kB / 0.5215 GB, free: 14.11 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.04e-05/0.586, allocations: 22.78 kB / 0.5215 GB, free: 14.11 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004868/0.5865, allocations: 53.78 kB / 0.5216 GB, free: 14.09 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001452/0.588, allocations: 0.6723 MB / 0.5222 GB, free: 13.76 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003361/0.5883, allocations: 0.7279 MB / 0.5229 GB, free: 13.05 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/0.5884, allocations: 32.8 kB / 0.523 GB, free: 13.05 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.5884, allocations: 0 / 0.523 GB, free: 13.05 MB / 382.1 MB Notification: Performance of Templates: time 0.006809/0.5952, allocations: 3.312 MB / 0.5262 GB, free: 12.7 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.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_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_AmbientCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_AmbientCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_AmbientCalcHelperMain.o] Error 1