Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.98/1.98, allocations: 209.2 MB / 224.8 MB, free: 0.7539 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004287/0.0004289, allocations: 12 kB / 282.6 MB, free: 9.613 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1067, allocations: 48.7 MB / 331.3 MB, free: 8.82 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.3132/0.4199, allocations: 22.4 MB / 353.7 MB, free: 4.742 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004068/0.4241, allocations: 2.574 MB / 356.3 MB, free: 2.93 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002167/0.4243, allocations: 1.656 kB / 356.3 MB, free: 2.93 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003107/0.4246, allocations: 40.38 kB / 356.3 MB, free: 2.91 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002384/0.427, allocations: 0.6057 MB / 356.9 MB, free: 2.531 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005483/0.4276, allocations: 128 kB / 357 MB, free: 2.465 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000608/0.4282, allocations: 260.4 kB / 357.3 MB, free: 2.34 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.112e-05/0.4283, allocations: 14.48 kB / 357.3 MB, free: 2.336 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.06688/0.4952, allocations: 21.76 MB / 379 MB, free: 5.297 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005008/0.4958, allocations: 131.6 kB / 379.2 MB, free: 5.168 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.563e-05/0.4958, allocations: 12 kB / 379.2 MB, free: 5.156 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01649/0.5123, allocations: 5.548 MB / 384.7 MB, free: 15.61 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.5125, allocations: 43.86 kB / 384.8 MB, free: 15.56 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001153/0.5126, allocations: 65.58 kB / 384.8 MB, free: 15.49 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000889/0.5135, allocations: 289 kB / 385.1 MB, free: 15.21 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.5135, allocations: 4 kB / 385.1 MB, free: 15.21 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.5136, allocations: 0 / 385.1 MB, free: 15.21 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.5136, allocations: 0 / 385.1 MB, free: 15.21 MB / 314.7 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.0015/0.5151, allocations: 0.5567 MB / 385.7 MB, free: 14.61 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.5151, allocations: 12.03 kB / 385.7 MB, free: 14.59 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.877e-05/0.5152, allocations: 58.55 kB / 385.8 MB, free: 14.53 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001735/0.5154, allocations: 23.81 kB / 385.8 MB, free: 14.5 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003297/0.5158, allocations: 222.7 kB / 386 MB, free: 14.25 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002004/0.516, allocations: 131.3 kB / 386.1 MB, free: 14.09 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.472e-05/0.516, allocations: 27.88 kB / 386.2 MB, free: 14.06 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008083/0.5169, allocations: 332.5 kB / 386.5 MB, free: 13.71 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.5169, allocations: 3.938 kB / 386.5 MB, free: 13.71 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.213e-05/0.5169, allocations: 12 kB / 386.5 MB, free: 13.7 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.627e-05/0.517, allocations: 4 kB / 386.5 MB, free: 13.69 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001313/0.5183, allocations: 0.7391 MB / 387.2 MB, free: 12.95 MB / 314.7 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.002001/0.5203, allocations: 1.351 MB / 388.6 MB, free: 11.48 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004873/0.5208, allocations: 159.8 kB / 388.7 MB, free: 11.32 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003641/0.5245, allocations: 2.867 MB / 391.6 MB, free: 7.922 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.078e-05/0.5246, allocations: 34.56 kB / 391.6 MB, free: 7.879 MB / 314.7 MB Notification: Performance of pre-optimization done (n=15): time 2.064e-06/0.5246, allocations: 0 / 391.6 MB, free: 7.879 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.0004654/0.525, allocations: 141.3 kB / 391.8 MB, free: 7.734 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.213e-05/0.5251, allocations: 59.39 kB / 391.8 MB, free: 7.664 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002509/0.5254, allocations: 210.5 kB / 392 MB, free: 7.449 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.852e-05/0.5254, allocations: 29.7 kB / 392.1 MB, free: 7.414 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001762/0.5256, allocations: 269.4 kB / 392.3 MB, free: 7.148 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.339e-05/0.5257, allocations: 59.19 kB / 392.4 MB, free: 7.09 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.049e-05/0.5257, allocations: 12 kB / 392.4 MB, free: 7.078 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.5259, allocations: 334.8 kB / 392.7 MB, free: 6.742 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/0.526, allocations: 48.84 kB / 392.8 MB, free: 6.691 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003441/0.5264, allocations: 318.1 kB / 393.1 MB, free: 6.25 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002443/0.5266, allocations: 95.86 kB / 393.2 MB, free: 6.156 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.093e-05/0.5267, allocations: 4 kB / 393.2 MB, free: 6.152 MB / 314.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008543/0.5275, allocations: 373.2 kB / 393.6 MB, free: 5.781 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.604e-05/0.5276, allocations: 8 kB / 393.6 MB, free: 5.773 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.913e-05/0.5276, allocations: 15.94 kB / 393.6 MB, free: 5.758 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.091e-05/0.5276, allocations: 12 kB / 393.6 MB, free: 5.746 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000494/0.5281, allocations: 103.8 kB / 393.7 MB, free: 5.645 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.982e-05/0.5282, allocations: 19.92 kB / 393.7 MB, free: 5.625 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00038/0.5286, allocations: 52.06 kB / 393.8 MB, free: 5.574 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.792e-05/0.5286, allocations: 24 kB / 393.8 MB, free: 5.551 MB / 314.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001894/0.5288, allocations: 153.5 kB / 393.9 MB, free: 5.391 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.099e-05/0.5289, allocations: 15.81 kB / 393.9 MB, free: 5.375 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005545/0.5295, allocations: 185.3 kB / 394.1 MB, free: 5.184 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-05/0.5295, allocations: 8 kB / 394.1 MB, free: 5.176 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.5295, allocations: 0 / 394.1 MB, free: 5.176 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.5295, allocations: 0 / 394.1 MB, free: 5.176 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000778/0.5303, allocations: 449.6 kB / 394.6 MB, free: 4.664 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.5303, allocations: 0 / 394.6 MB, free: 4.664 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001443/0.5305, allocations: 22.44 kB / 394.6 MB, free: 4.645 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.215e-06/0.5305, allocations: 4.125 kB / 394.6 MB, free: 4.641 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.682e-05/0.5305, allocations: 8 kB / 394.6 MB, free: 4.633 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.502e-06/0.5306, allocations: 11.88 kB / 394.6 MB, free: 4.621 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.5306, allocations: 3.984 kB / 394.6 MB, free: 4.617 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000294/0.5309, allocations: 222.7 kB / 394.8 MB, free: 4.371 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001285/0.531, allocations: 120.7 kB / 395 MB, free: 4.234 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.787e-05/0.5311, allocations: 4.047 kB / 395 MB, free: 4.23 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000274/0.5314, allocations: 15.95 kB / 395 MB, free: 4.215 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.804e-05/0.5314, allocations: 8 kB / 395 MB, free: 4.207 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.291e-05/0.5314, allocations: 11.94 kB / 395 MB, free: 4.195 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001736/0.5316, allocations: 144.5 kB / 395.1 MB, free: 4.055 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5316, allocations: 0 / 395.1 MB, free: 4.055 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007034/0.5324, allocations: 112 kB / 395.3 MB, free: 3.945 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (12): * Single equations (assignments): 11 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008355/0.5332, allocations: 0.8131 MB / 396.1 MB, free: 3.094 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000495/0.5337, allocations: 169.8 kB / 396.2 MB, free: 2.93 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.5337, allocations: 4.312 kB / 396.2 MB, free: 2.926 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.416e-05/0.5338, allocations: 31.91 kB / 396.3 MB, free: 2.895 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005957/0.5344, allocations: 48.64 kB / 396.3 MB, free: 2.848 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002459/0.5369, allocations: 1.416 MB / 397.7 MB, free: 1.227 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000338/0.5373, allocations: 0.7326 MB / 398.5 MB, free: 480 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001517/0.5374, allocations: 67.41 kB / 398.5 MB, free: 412 kB / 314.7 MB Notification: Performance of SimCode: time 1.001e-06/0.5375, allocations: 0 / 398.5 MB, free: 412 kB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.646/3.184, allocations: 4.321 MB / 402.8 MB, free: 12.08 MB / 330.7 MB "Error: Could not read variable _GlobalScope.Modelica.Media.Interfaces.PartialPureSubstance.reference_X[1] in file ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat. Warning: Get data of variable _GlobalScope.Modelica.Media.Interfaces.PartialPureSubstance.reference_X[1] from file ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat failed! Error: Could not read variable _derdummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat failed! Error: Could not read variable eps in file ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat. Warning: Get data of variable eps from file ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat failed! Error: Could not read variable t_min in file ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat. Warning: Get data of variable t_min from file ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat failed! " Variables in the reference: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 Variables in the result:MM,Pr,T,a,beta,beta2,cp,cp2,cv,cv2,d,d2,ddTp,dddX[1],ddpT,eps_h_is,err_T,err_d,err_h_is,err_u,eta,f,g,h,h2,h_is,kappa,kappa2,lambda,medium.MM,medium.R,medium.T,medium.T_degC,medium.X[1],medium.d,medium.h,medium.p,medium.p_bar,medium.preferredMediumStates,medium.standardOrderComponents,medium.state.T,medium.state.p,medium.u,p,s,s_is,state.T,state.p,state2.T,state2.p,state3.T,state3.p,state4.T,state4.p,state5.T,state5.p,state_h_is.T,state_h_is.p,time,u