Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.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.Tests.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 83.2 kB / 17.58 MB, free: 5.758 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.001495/0.001494, allocations: 183.5 kB / 18.48 MB, free: 5.207 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.682/1.682, allocations: 205.4 MB / 224.6 MB, free: 13.16 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.0004933/0.0004934, allocations: 8 kB / 281.4 MB, free: 3.73 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1132, allocations: 47.59 MB / 329 MB, free: 4.07 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT): time 0.03178/0.145, allocations: 30.1 MB / 359.1 MB, free: 5.875 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01693/0.162, allocations: 14.63 MB / 373.7 MB, free: 7.207 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004961/0.1626, allocations: 3.938 kB / 373.7 MB, free: 7.203 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007799/0.1634, allocations: 210.8 kB / 373.9 MB, free: 6.996 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008084/0.1642, allocations: 334.2 kB / 374.3 MB, free: 6.668 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01567/0.1799, allocations: 4.457 MB / 378.7 MB, free: 2.195 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001603/0.1815, allocations: 1.196 MB / 379.9 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002124/0.1817, allocations: 84.91 kB / 380 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2362/0.4179, allocations: 3.295 MB / 383.3 MB, free: 15.07 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005142/0.4185, allocations: 285.7 kB / 383.6 MB, free: 15.07 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.378e-05/0.4185, allocations: 17.64 kB / 383.6 MB, free: 15.07 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007801/0.4263, allocations: 3.348 MB / 386.9 MB, free: 15.07 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000234/0.4266, allocations: 83.64 kB / 387 MB, free: 15.06 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002409/0.4269, allocations: 107.1 kB / 387.1 MB, free: 15.03 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004086/0.4309, allocations: 1.639 MB / 388.8 MB, free: 15.01 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.034e-05/0.431, allocations: 1 kB / 388.8 MB, free: 15.01 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.276e-06/0.431, allocations: 1.219 kB / 388.8 MB, free: 15.01 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.015e-05/0.431, allocations: 0 / 388.8 MB, free: 15.01 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.002409/0.4334, allocations: 0.7428 MB / 389.5 MB, free: 14.55 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.4335, allocations: 8.562 kB / 389.5 MB, free: 14.55 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007068/0.4342, allocations: 88.45 kB / 389.6 MB, free: 14.53 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004131/0.4346, allocations: 296.1 kB / 389.9 MB, free: 14.32 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.596e-05/0.4346, allocations: 24.53 kB / 389.9 MB, free: 14.32 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.057e-05/0.4347, allocations: 30.41 kB / 390 MB, free: 14.32 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007777/0.4355, allocations: 443.2 kB / 390.4 MB, free: 14.18 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.4355, allocations: 2.812 kB / 390.4 MB, free: 14.18 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.732e-05/0.4356, allocations: 16.39 kB / 390.4 MB, free: 14.18 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.383e-05/0.4356, allocations: 8.688 kB / 390.4 MB, free: 14.18 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005442/0.4361, allocations: 315.2 kB / 390.7 MB, free: 14.18 MB / 318.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.00259/0.4387, allocations: 2.635 MB / 393.4 MB, free: 12.09 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005635/0.4393, allocations: 248.3 kB / 393.6 MB, free: 12.06 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001583/0.4395, allocations: 99.67 kB / 393.7 MB, free: 12.05 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02911/0.4686, allocations: 15.59 MB / 409.3 MB, free: 18.24 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.062e-05/0.4687, allocations: 40.42 kB / 409.3 MB, free: 18.2 MB / 334.1 MB Notification: Performance of pre-optimization done (n=25): time 5.2e-06/0.4687, allocations: 4 kB / 409.3 MB, free: 18.2 MB / 334.1 MB Notification: Performance of matching and sorting (n=30): time 0.004269/0.473, allocations: 1.315 MB / 410.6 MB, free: 17.62 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.918e-05/0.473, allocations: 58.97 kB / 410.7 MB, free: 17.55 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002751/0.4733, allocations: 269.1 kB / 411 MB, free: 17.41 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.729e-05/0.4734, allocations: 32.17 kB / 411 MB, free: 17.38 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.4735, allocations: 194 kB / 411.2 MB, free: 17.24 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.032e-05/0.4735, allocations: 114.1 kB / 411.3 MB, free: 17.16 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.595e-05/0.4736, allocations: 5.938 kB / 411.3 MB, free: 17.16 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.4737, allocations: 335.7 kB / 411.6 MB, free: 16.84 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.4739, allocations: 101.9 kB / 411.7 MB, free: 16.82 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00021/0.4741, allocations: 218 kB / 411.9 MB, free: 16.66 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002069/0.4743, allocations: 144.2 kB / 412.1 MB, free: 16.65 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4743, allocations: 0 / 412.1 MB, free: 16.65 MB / 334.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006578/0.475, allocations: 433.6 kB / 412.5 MB, free: 16.55 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.475, allocations: 7.891 kB / 412.5 MB, free: 16.54 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.649e-06/0.475, allocations: 6.938 kB / 412.5 MB, free: 16.54 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002555/0.4776, allocations: 269.8 kB / 412.8 MB, free: 16.45 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002721/0.4779, allocations: 82.09 kB / 412.9 MB, free: 16.44 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001389/0.4793, allocations: 1.878 MB / 414.7 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002609/0.4795, allocations: 28.2 kB / 414.8 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.605e-05/0.4796, allocations: 24.73 kB / 414.8 MB, free: 14.61 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001803/0.4798, allocations: 165.2 kB / 415 MB, free: 14.49 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.648e-05/0.4798, allocations: 31.31 kB / 415 MB, free: 14.48 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001012/0.4808, allocations: 0.9416 MB / 415.9 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-05/0.4809, allocations: 10.12 kB / 415.9 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-06/0.4809, allocations: 0 / 415.9 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009386/0.4818, allocations: 1.12 MB / 417.1 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00202/0.4839, allocations: 1.586 MB / 418.6 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.4839, allocations: 0 / 418.6 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001904/0.4841, allocations: 50.22 kB / 418.7 MB, free: 13.11 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001413/0.4855, allocations: 298 kB / 419 MB, free: 12.99 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.266e-05/0.4855, allocations: 4.938 kB / 419 MB, free: 12.99 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006213/0.4862, allocations: 0.6722 MB / 419.7 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.287e-06/0.4862, allocations: 2.625 kB / 419.7 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001222/0.4874, allocations: 0.9589 MB / 420.6 MB, free: 12.19 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001373/0.4876, allocations: 137 kB / 420.8 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.815e-05/0.4876, allocations: 7.812 kB / 420.8 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001998/0.4878, allocations: 19.77 kB / 420.8 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.358e-05/0.4879, allocations: 15.86 kB / 420.8 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.178e-05/0.4879, allocations: 11.98 kB / 420.8 MB, free: 12.01 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002565/0.4882, allocations: 236.7 kB / 421 MB, free: 11.83 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.4882, allocations: 4.062 kB / 421 MB, free: 11.82 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.003134/0.4913, allocations: 0.4907 MB / 421.5 MB, free: 11.36 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 4 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.003252/0.4946, allocations: 0.5252 MB / 422.1 MB, free: 10.88 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008975/0.4955, allocations: 0.5173 MB / 422.6 MB, free: 10.49 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.4955, allocations: 0 / 422.6 MB, free: 10.49 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003882/0.4959, allocations: 297.8 kB / 422.9 MB, free: 10.32 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/0.4969, allocations: 187.2 kB / 423.1 MB, free: 10.18 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001699/0.4986, allocations: 1.251 MB / 424.3 MB, free: 9.047 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003856/0.499, allocations: 0.824 MB / 425.1 MB, free: 8.203 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.869e-05/0.4991, allocations: 31.44 kB / 425.2 MB, free: 8.172 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4991, allocations: 0 / 425.2 MB, free: 8.172 MB / 334.1 MB Notification: Performance of Templates: time 0.02452/0.5236, allocations: 15.09 MB / 440.2 MB, free: 9.223 MB / 350.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.makefile make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.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_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pTCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pTCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pTCalcHelperMain.o] Error 1