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.LinearColdWater.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.LinearColdWater,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.119/2.119, allocations: 209.2 MB / 224.8 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004479/0.0004483, allocations: 20 kB / 282.6 MB, free: 9.598 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3424/0.3429, allocations: 48.7 MB / 331.3 MB, free: 6.52 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.005281/0.3483, allocations: 3.419 MB / 334.7 MB, free: 4.328 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005419/0.3537, allocations: 3.462 MB / 338.2 MB, free: 1.867 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002161/0.354, allocations: 1.062 kB / 338.2 MB, free: 1.867 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003244/0.3543, allocations: 45.28 kB / 338.2 MB, free: 1.844 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002311/0.3567, allocations: 0.6085 MB / 338.8 MB, free: 1.418 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005429/0.3572, allocations: 128.7 kB / 338.9 MB, free: 1.336 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005937/0.3578, allocations: 267.4 kB / 339.2 MB, free: 1.176 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.277e-05/0.3579, allocations: 14.92 kB / 339.2 MB, free: 1.172 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002486/0.3582, allocations: 125.5 kB / 339.3 MB, free: 1.109 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003262/0.3585, allocations: 135.2 kB / 339.5 MB, free: 1.043 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.02e-05/0.3586, allocations: 6.188 kB / 339.5 MB, free: 1.043 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001647/0.3602, allocations: 387.4 kB / 339.8 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.879e-05/0.3604, allocations: 43.39 kB / 339.9 MB, free: 0.8711 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001058/0.3605, allocations: 63.64 kB / 340 MB, free: 0.8281 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008576/0.3613, allocations: 284.6 kB / 340.2 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.3614, allocations: 1.625 kB / 340.2 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3614, allocations: 0 / 340.2 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.3614, allocations: 0 / 340.2 MB, free: 0.6875 MB / 266.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.001413/0.3628, allocations: 0.5633 MB / 340.8 MB, free: 176 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/0.3629, allocations: 9.625 kB / 340.8 MB, free: 176 kB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.865e-05/0.363, allocations: 59.77 kB / 340.9 MB, free: 116 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001722/0.3631, allocations: 30.14 kB / 340.9 MB, free: 100 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003563/0.3635, allocations: 227.9 kB / 341.1 MB, free: 15.85 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002043/0.3637, allocations: 128.2 kB / 341.2 MB, free: 15.71 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.983e-05/0.3638, allocations: 21.81 kB / 341.3 MB, free: 15.71 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008201/0.3646, allocations: 330.5 kB / 341.6 MB, free: 15.47 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.3647, allocations: 1.75 kB / 341.6 MB, free: 15.47 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.365e-05/0.3647, allocations: 10.84 kB / 341.6 MB, free: 15.46 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.952e-05/0.3648, allocations: 7.094 kB / 341.6 MB, free: 15.46 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001346/0.3661, allocations: 0.7445 MB / 342.3 MB, free: 15.12 MB / 282.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.002131/0.3683, allocations: 1.343 MB / 343.7 MB, free: 13.81 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000494/0.3688, allocations: 159 kB / 343.8 MB, free: 13.73 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003792/0.3726, allocations: 2.86 MB / 346.7 MB, free: 10.55 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.705e-05/0.3727, allocations: 41.19 kB / 346.7 MB, free: 10.5 MB / 282.7 MB Notification: Performance of pre-optimization done (n=15): time 2.164e-06/0.3727, allocations: 0 / 346.7 MB, free: 10.5 MB / 282.7 MB Notification: Performance of matching and sorting (n=15): time 0.0004861/0.3732, allocations: 140.7 kB / 346.9 MB, free: 10.42 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.367e-05/0.3732, allocations: 62.39 kB / 346.9 MB, free: 10.35 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002618/0.3735, allocations: 210.6 kB / 347.1 MB, free: 10.18 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.156e-05/0.3736, allocations: 25.7 kB / 347.2 MB, free: 10.15 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001852/0.3738, allocations: 278.4 kB / 347.4 MB, free: 9.891 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.935e-05/0.3738, allocations: 53.3 kB / 347.5 MB, free: 9.848 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.979e-05/0.3739, allocations: 8 kB / 347.5 MB, free: 9.84 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.374, allocations: 333.7 kB / 347.8 MB, free: 9.512 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/0.3742, allocations: 41.66 kB / 347.9 MB, free: 9.496 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003639/0.3745, allocations: 326.6 kB / 348.2 MB, free: 9.09 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002495/0.3748, allocations: 98.89 kB / 348.3 MB, free: 9.043 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/0.3748, allocations: 2.688 kB / 348.3 MB, free: 9.043 MB / 282.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008707/0.3757, allocations: 368.8 kB / 348.6 MB, free: 8.848 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/0.3757, allocations: 13.41 kB / 348.7 MB, free: 8.844 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.005e-05/0.3758, allocations: 9.688 kB / 348.7 MB, free: 8.844 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.724e-05/0.3758, allocations: 18.98 kB / 348.7 MB, free: 8.84 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005068/0.3763, allocations: 100 kB / 348.8 MB, free: 8.812 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.748e-05/0.3764, allocations: 21.05 kB / 348.8 MB, free: 8.805 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004064/0.3768, allocations: 54.5 kB / 348.9 MB, free: 8.77 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.667e-05/0.3769, allocations: 27.45 kB / 348.9 MB, free: 8.766 MB / 282.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.0001953/0.3771, allocations: 155.4 kB / 349 MB, free: 8.617 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.483e-05/0.3771, allocations: 17.41 kB / 349.1 MB, free: 8.609 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005827/0.3777, allocations: 181.8 kB / 349.2 MB, free: 8.469 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-05/0.3778, allocations: 1.781 kB / 349.2 MB, free: 8.469 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/0.3778, allocations: 5.109 kB / 349.2 MB, free: 8.465 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.3778, allocations: 0 / 349.2 MB, free: 8.465 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007923/0.3786, allocations: 461.6 kB / 349.7 MB, free: 8.02 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.3786, allocations: 0.9062 kB / 349.7 MB, free: 8.02 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001465/0.3788, allocations: 19.17 kB / 349.7 MB, free: 8.016 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.3788, allocations: 1.438 kB / 349.7 MB, free: 8.016 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.3788, allocations: 2.844 kB / 349.7 MB, free: 8.016 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.3788, allocations: 1.375 kB / 349.7 MB, free: 8.016 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/0.3788, allocations: 5.516 kB / 349.7 MB, free: 8.012 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002936/0.3791, allocations: 219.2 kB / 349.9 MB, free: 7.812 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001306/0.3793, allocations: 118.6 kB / 350.1 MB, free: 7.688 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.951e-05/0.3794, allocations: 5.422 kB / 350.1 MB, free: 7.684 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002755/0.3796, allocations: 16.83 kB / 350.1 MB, free: 7.672 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.729e-05/0.3797, allocations: 5.312 kB / 350.1 MB, free: 7.672 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.199e-05/0.3797, allocations: 7.703 kB / 350.1 MB, free: 7.668 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001807/0.3799, allocations: 148.4 kB / 350.2 MB, free: 7.559 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-07/0.3799, allocations: 0 / 350.2 MB, free: 7.559 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007708/0.3807, allocations: 105.1 kB / 350.3 MB, free: 7.535 MB / 282.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.0009281/0.3817, allocations: 0.8326 MB / 351.2 MB, free: 6.758 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004814/0.3822, allocations: 175.6 kB / 351.3 MB, free: 6.684 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.3822, allocations: 2.25 kB / 351.3 MB, free: 6.684 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.056e-05/0.3823, allocations: 39.64 kB / 351.4 MB, free: 6.664 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006055/0.3829, allocations: 46.36 kB / 351.4 MB, free: 6.641 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002606/0.3855, allocations: 1.411 MB / 352.8 MB, free: 5.402 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003583/0.3859, allocations: 0.733 MB / 353.6 MB, free: 4.68 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001593/0.3861, allocations: 67.03 kB / 353.6 MB, free: 4.633 MB / 282.7 MB Notification: Performance of SimCode: time 1.193e-06/0.3861, allocations: 3.938 kB / 353.6 MB, free: 4.629 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.659/3.045, allocations: 4.294 MB / 357.9 MB, free: 2.438 MB / 282.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.LinearColdWater_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.LinearColdWater_res.mat failed! Error: Could not read variable _derdummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat failed! Error: Could not read variable eps in file ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat failed! Error: Could not read variable t_min in file ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat. Warning: Get data of variable t_min from file ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater_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