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.IncompleteMedia.ReferenceMoistAir.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.IncompleteMedia.ReferenceMoistAir,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.974/1.974, allocations: 209.2 MB / 224.8 MB, free: 0.625 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004374/0.0004375, allocations: 15.94 kB / 282.6 MB, free: 9.602 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3507/0.3512, allocations: 48.7 MB / 331.3 MB, free: 6.504 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.04082/0.3921, allocations: 22.4 MB / 353.7 MB, free: 6.039 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02131/0.4134, allocations: 10.46 MB / 364.1 MB, free: 13.58 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002566/0.4138, allocations: 0 / 364.1 MB, free: 13.58 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003528/0.4141, allocations: 59.7 kB / 364.2 MB, free: 13.52 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02674/0.4409, allocations: 6.223 MB / 370.4 MB, free: 7.285 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009451/0.4419, allocations: 215.5 kB / 370.6 MB, free: 7.074 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009041/0.4428, allocations: 311.9 kB / 370.9 MB, free: 6.77 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.28e-05/0.4429, allocations: 12.31 kB / 370.9 MB, free: 6.758 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004963/0.4434, allocations: 187.5 kB / 371.1 MB, free: 6.574 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02665/0.4701, allocations: 11.07 MB / 382.2 MB, free: 11.5 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.829e-05/0.4702, allocations: 8 kB / 382.2 MB, free: 11.49 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03138/0.5016, allocations: 11.19 MB / 393.4 MB, free: 296 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001535/0.5018, allocations: 75.78 kB / 393.5 MB, free: 220 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001408/0.502, allocations: 73.58 kB / 393.5 MB, free: 140 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0132/0.5152, allocations: 4.053 MB / 397.6 MB, free: 12.08 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.5153, allocations: 4 kB / 397.6 MB, free: 12.07 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.5153, allocations: 0 / 397.6 MB, free: 12.07 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.5153, allocations: 0 / 397.6 MB, free: 12.07 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.005182/0.5205, allocations: 1.458 MB / 399.1 MB, free: 10.57 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.5206, allocations: 8.031 kB / 399.1 MB, free: 10.56 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001156/0.5207, allocations: 66.53 kB / 399.1 MB, free: 10.48 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002176/0.5209, allocations: 31.7 kB / 399.2 MB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003913/0.5213, allocations: 250.5 kB / 399.4 MB, free: 10.17 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.518e-05/0.5214, allocations: 20.56 kB / 399.4 MB, free: 10.15 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.055e-05/0.5214, allocations: 27.94 kB / 399.4 MB, free: 10.12 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001197/0.5226, allocations: 0.4895 MB / 399.9 MB, free: 9.605 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.5227, allocations: 0 / 399.9 MB, free: 9.605 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.065e-05/0.5227, allocations: 16 kB / 400 MB, free: 9.59 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.296e-05/0.5228, allocations: 24.55 kB / 400 MB, free: 9.566 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001747/0.5246, allocations: 0.892 MB / 400.9 MB, free: 8.676 MB / 330.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.003128/0.5277, allocations: 1.871 MB / 402.7 MB, free: 6.668 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001051/0.5288, allocations: 337 kB / 403.1 MB, free: 6.312 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02468/0.5535, allocations: 13.22 MB / 416.3 MB, free: 6.621 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006412/0.5542, allocations: 233.2 kB / 416.5 MB, free: 6.355 MB / 346.7 MB Notification: Performance of pre-optimization done (n=33): time 2.515e-06/0.5542, allocations: 0 / 416.5 MB, free: 6.355 MB / 346.7 MB Notification: Performance of matching and sorting (n=35): time 0.003077/0.5573, allocations: 0.7696 MB / 417.3 MB, free: 5.555 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001565/0.5574, allocations: 273.4 kB / 417.6 MB, free: 5.227 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002825/0.5577, allocations: 211 kB / 417.8 MB, free: 5.012 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.888e-05/0.5578, allocations: 29.7 kB / 417.8 MB, free: 4.977 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001987/0.558, allocations: 261.9 kB / 418 MB, free: 4.715 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001427/0.5582, allocations: 126.2 kB / 418.2 MB, free: 4.59 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-05/0.5582, allocations: 12 kB / 418.2 MB, free: 4.578 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.5584, allocations: 330.8 kB / 418.5 MB, free: 4.246 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002659/0.5587, allocations: 89.06 kB / 418.6 MB, free: 4.16 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000643/0.5593, allocations: 353.6 kB / 418.9 MB, free: 3.684 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005338/0.5599, allocations: 155.8 kB / 419.1 MB, free: 3.531 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/0.5599, allocations: 8 kB / 419.1 MB, free: 3.523 MB / 346.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00173/0.5616, allocations: 487.6 kB / 419.6 MB, free: 3.043 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/0.5617, allocations: 12 kB / 419.6 MB, free: 3.031 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.614e-05/0.5617, allocations: 8.906 kB / 419.6 MB, free: 3.023 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.745e-05/0.5617, allocations: 19.98 kB / 419.6 MB, free: 3.004 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001091/0.5628, allocations: 179.7 kB / 419.8 MB, free: 2.828 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007429/0.5636, allocations: 1.195 MB / 421 MB, free: 1.586 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004592/0.5641, allocations: 32.11 kB / 421 MB, free: 1.555 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001035/0.5642, allocations: 43.98 kB / 421.1 MB, free: 1.512 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 64 * Array equations: 0 * 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.0002355/0.5644, allocations: 169.6 kB / 421.2 MB, free: 1.336 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002229/0.5647, allocations: 31.72 kB / 421.3 MB, free: 1.305 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001646/0.5663, allocations: 490.3 kB / 421.7 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.5664, allocations: 0 / 421.7 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.5664, allocations: 0 / 421.7 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.074e-06/0.5664, allocations: 11.92 kB / 421.7 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00129/0.5677, allocations: 0.6069 MB / 422.4 MB, free: 96 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.5677, allocations: 160 / 422.4 MB, free: 96 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006446/0.5684, allocations: 87.88 kB / 422.4 MB, free: 8 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.363e-06/0.5684, allocations: 7.938 kB / 422.4 MB, free: 0 / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.923e-05/0.5685, allocations: 16.05 kB / 422.5 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000662/0.5691, allocations: 1.168 MB / 423.6 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.5691, allocations: 4.031 kB / 423.6 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007805/0.5699, allocations: 311.6 kB / 423.9 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001359/0.5701, allocations: 140.8 kB / 424.1 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.445e-05/0.5702, allocations: 8 kB / 424.1 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004104/0.5706, allocations: 15.98 kB / 424.1 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.568e-05/0.5707, allocations: 15.97 kB / 424.1 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.209e-05/0.5707, allocations: 16 kB / 424.1 MB, free: 14.22 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002299/0.571, allocations: 164.5 kB / 424.3 MB, free: 14.05 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.571, allocations: 0 / 424.3 MB, free: 14.05 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.005543/0.5765, allocations: 1.593 MB / 425.9 MB, free: 12.46 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 22 * Array equations: 0 * 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.01055/0.5871, allocations: 2.785 MB / 428.7 MB, free: 9.641 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001453/0.5886, allocations: 321.4 kB / 429 MB, free: 9.328 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.5886, allocations: 0 / 429 MB, free: 9.328 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000626/0.5892, allocations: 120.3 kB / 429.1 MB, free: 9.211 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006788/0.5899, allocations: 66.02 kB / 429.2 MB, free: 9.152 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006064/0.596, allocations: 2.292 MB / 431.5 MB, free: 6.66 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003814/0.5964, allocations: 0.7605 MB / 432.2 MB, free: 5.875 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003898/0.5968, allocations: 107.4 kB / 432.3 MB, free: 5.77 MB / 362.7 MB Notification: Performance of SimCode: time 1.383e-06/0.5969, allocations: 0 / 432.3 MB, free: 5.77 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.407/5.004, allocations: 40.06 MB / 472.4 MB, free: 13.64 MB / 410.7 MB