Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.MoistAir,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestAllProperties_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.395/2.395, allocations: 234.9 MB / 250.5 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004246/0.0004248, allocations: 12 kB / 314.4 MB, free: 9.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3523/0.3527, allocations: 54.86 MB / 369.3 MB, free: 10.74 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.6079/0.9606, allocations: 127.9 MB / 497.1 MB, free: 13.45 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01831/0.979, allocations: 11.27 MB / 0.4965 GB, free: 12.66 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002875/0.9794, allocations: 2.812 kB / 0.4965 GB, free: 12.66 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003671/0.9797, allocations: 60.62 kB / 0.4965 GB, free: 12.64 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01044/0.9902, allocations: 2.512 MB / 0.499 GB, free: 12.24 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006486/0.9909, allocations: 152.2 kB / 0.4991 GB, free: 12.21 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007436/0.9916, allocations: 340.7 kB / 0.4995 GB, free: 12.16 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.314e-05/0.9917, allocations: 14.62 kB / 0.4995 GB, free: 12.16 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005353/0.9922, allocations: 222.5 kB / 0.4997 GB, free: 12.1 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000939/0.9932, allocations: 325.5 kB / 0.5 GB, free: 12.01 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.105e-05/0.9933, allocations: 10.31 kB / 0.5 GB, free: 12.01 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01219/1.005, allocations: 4.259 MB / 0.5042 GB, free: 11.04 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002021/1.006, allocations: 89.06 kB / 0.5043 GB, free: 11 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002273/1.006, allocations: 80.03 kB / 0.5043 GB, free: 10.96 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005572/1.012, allocations: 1.585 MB / 0.5059 GB, free: 10.42 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/1.012, allocations: 0 / 0.5059 GB, free: 10.42 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.615e-06/1.012, allocations: 0 / 0.5059 GB, free: 10.42 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.843e-06/1.012, allocations: 0 / 0.5059 GB, free: 10.42 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.003905/1.016, allocations: 1.058 MB / 0.5069 GB, free: 9.656 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/1.016, allocations: 11.34 kB / 0.5069 GB, free: 9.652 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001538/1.016, allocations: 78.39 kB / 0.507 GB, free: 9.602 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002233/1.016, allocations: 39.94 kB / 0.507 GB, free: 9.582 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004339/1.016, allocations: 243 kB / 0.5073 GB, free: 9.344 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001995/1.017, allocations: 135.2 kB / 0.5074 GB, free: 9.215 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.099e-05/1.017, allocations: 31.19 kB / 0.5074 GB, free: 9.211 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001283/1.018, allocations: 0.5736 MB / 0.508 GB, free: 9 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.011e-05/1.018, allocations: 0 / 0.508 GB, free: 9 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.382e-05/1.018, allocations: 22.91 kB / 0.508 GB, free: 8.996 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.419e-05/1.018, allocations: 27.73 kB / 0.508 GB, free: 8.992 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001979/1.02, allocations: 1.258 MB / 0.5093 GB, free: 8.699 MB / 410.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.004047/1.024, allocations: 2.046 MB / 0.5113 GB, free: 7.188 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001059/1.025, allocations: 263 kB / 0.5115 GB, free: 7.129 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004852/1.03, allocations: 3.073 MB / 0.5145 GB, free: 4.164 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.319e-05/1.03, allocations: 42.89 kB / 0.5146 GB, free: 4.121 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 3.767e-06/1.03, allocations: 4 kB / 0.5146 GB, free: 4.117 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.002866/1.033, allocations: 0.8019 MB / 0.5153 GB, free: 3.723 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.841e-05/1.033, allocations: 54.03 kB / 0.5154 GB, free: 3.66 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002644/1.034, allocations: 204 kB / 0.5156 GB, free: 3.531 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.236e-05/1.034, allocations: 33.5 kB / 0.5156 GB, free: 3.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001774/1.034, allocations: 262 kB / 0.5159 GB, free: 3.27 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001752/1.034, allocations: 162.1 kB / 0.516 GB, free: 3.152 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.175e-05/1.034, allocations: 10.81 kB / 0.516 GB, free: 3.152 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001388/1.034, allocations: 335.9 kB / 0.5164 GB, free: 2.832 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003029/1.035, allocations: 101.1 kB / 0.5165 GB, free: 2.809 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005358/1.035, allocations: 415.6 kB / 0.5168 GB, free: 2.387 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004589/1.036, allocations: 179.8 kB / 0.517 GB, free: 2.344 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.636e-06/1.036, allocations: 2.812 kB / 0.517 GB, free: 2.344 MB / 410.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001541/1.037, allocations: 0.5579 MB / 0.5176 GB, free: 2.156 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.458e-05/1.037, allocations: 12.16 kB / 0.5176 GB, free: 2.156 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.859e-05/1.037, allocations: 10.31 kB / 0.5176 GB, free: 2.156 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.457e-05/1.037, allocations: 15.84 kB / 0.5176 GB, free: 2.156 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001301/1.039, allocations: 202.3 kB / 0.5178 GB, free: 2.105 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008568/1.04, allocations: 1.193 MB / 0.519 GB, free: 0.9141 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006256/1.04, allocations: 25.53 kB / 0.519 GB, free: 0.9141 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001403/1.04, allocations: 63.28 kB / 0.519 GB, free: 0.9062 MB / 410.7 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 (73): * Single equations (assignments): 70 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002915/1.041, allocations: 181.8 kB / 0.5192 GB, free: 0.7656 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001125/1.041, allocations: 28.78 kB / 0.5192 GB, free: 0.75 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002229/1.043, allocations: 0.6485 MB / 0.5199 GB, free: 440 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-05/1.043, allocations: 5.094 kB / 0.5199 GB, free: 440 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/1.043, allocations: 0 / 0.5199 GB, free: 440 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/1.043, allocations: 4 kB / 0.5199 GB, free: 436 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00142/1.045, allocations: 0.6587 MB / 0.5205 GB, free: 20 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/1.045, allocations: 0 / 0.5205 GB, free: 20 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008244/1.046, allocations: 108.5 kB / 0.5206 GB, free: 15.99 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.171e-05/1.046, allocations: 5.922 kB / 0.5206 GB, free: 15.99 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.382e-05/1.046, allocations: 8.969 kB / 0.5207 GB, free: 15.99 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007059/1.046, allocations: 1.169 MB / 0.5218 GB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/1.046, allocations: 3.953 kB / 0.5218 GB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007194/1.047, allocations: 348.2 kB / 0.5221 GB, free: 14.62 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002419/1.047, allocations: 143.9 kB / 0.5223 GB, free: 14.49 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.75e-05/1.047, allocations: 12.72 kB / 0.5223 GB, free: 14.49 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005095/1.048, allocations: 11.73 kB / 0.5223 GB, free: 14.48 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.512e-05/1.048, allocations: 37.78 kB / 0.5223 GB, free: 14.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.047e-05/1.048, allocations: 22.31 kB / 0.5223 GB, free: 14.46 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002418/1.048, allocations: 166.9 kB / 0.5225 GB, free: 14.36 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-07/1.048, allocations: 0 / 0.5225 GB, free: 14.36 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00229/1.051, allocations: 0.5419 MB / 0.523 GB, free: 14.25 MB / 426.7 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 (35): * Single equations (assignments): 32 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004565/1.055, allocations: 1.635 MB / 0.5246 GB, free: 13.27 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001488/1.057, allocations: 362.3 kB / 0.525 GB, free: 13.18 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/1.057, allocations: 2.75 kB / 0.525 GB, free: 13.18 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006266/1.058, allocations: 149.7 kB / 0.5251 GB, free: 13.14 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/1.059, allocations: 93.67 kB / 0.5252 GB, free: 13.11 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005068/1.064, allocations: 2.094 MB / 0.5273 GB, free: 11.71 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004003/1.064, allocations: 0.7734 MB / 0.528 GB, free: 10.96 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006488/1.065, allocations: 152.7 kB / 0.5282 GB, free: 10.93 MB / 426.7 MB Notification: Performance of SimCode: time 1.763e-06/1.065, allocations: 0 / 0.5282 GB, free: 10.93 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.316/4.381, allocations: 16.09 MB / 0.5439 GB, free: 12.88 MB / 442.7 MB