Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.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) Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.676/1.676, allocations: 171.2 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003528/0.0003531, allocations: 8 kB / 233.3 MB, free: 0.8594 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0824/0.08277, allocations: 38.77 MB / 272 MB, free: 10.01 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air): time 0.4332/0.516, allocations: 137.1 MB / 409.2 MB, free: 10.19 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00364/0.5197, allocations: 1.939 MB / 411.1 MB, free: 8.25 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002331/0.52, allocations: 4 kB / 411.1 MB, free: 8.246 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006902/0.5207, allocations: 135.4 kB / 411.2 MB, free: 8.113 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009208/0.5216, allocations: 279.1 kB / 411.5 MB, free: 7.84 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001139/0.5228, allocations: 279.4 kB / 411.8 MB, free: 7.566 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007971/0.5236, allocations: 0.491 MB / 412.3 MB, free: 7.074 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002138/0.5238, allocations: 76.08 kB / 412.3 MB, free: 6.996 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001335/0.5251, allocations: 442.8 kB / 412.8 MB, free: 6.562 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000316/0.5255, allocations: 171.3 kB / 412.9 MB, free: 6.395 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.06e-05/0.5256, allocations: 16 kB / 413 MB, free: 6.379 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004244/0.526, allocations: 99.92 kB / 413.1 MB, free: 6.281 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001448/0.5262, allocations: 79.72 kB / 413.1 MB, free: 6.203 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001157/0.5263, allocations: 85.58 kB / 413.2 MB, free: 6.113 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006618/0.527, allocations: 409.6 kB / 413.6 MB, free: 5.719 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.527, allocations: 4 kB / 413.6 MB, free: 5.715 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.078e-06/0.527, allocations: 3.984 kB / 413.6 MB, free: 5.711 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.527, allocations: 0 / 413.6 MB, free: 5.711 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001038/0.5281, allocations: 0.5184 MB / 414.1 MB, free: 5.145 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.358e-05/0.5281, allocations: 12.02 kB / 414.2 MB, free: 5.133 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001047/0.5282, allocations: 58.55 kB / 414.2 MB, free: 5.066 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003598/0.5286, allocations: 43.7 kB / 414.3 MB, free: 5.023 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005014/0.5291, allocations: 278.5 kB / 414.5 MB, free: 4.711 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.19e-05/0.5292, allocations: 20.56 kB / 414.5 MB, free: 4.691 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.33e-05/0.5293, allocations: 24 kB / 414.6 MB, free: 4.668 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007502/0.53, allocations: 315.7 kB / 414.9 MB, free: 4.328 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/0.5301, allocations: 0 / 414.9 MB, free: 4.328 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.264e-05/0.5301, allocations: 15.95 kB / 414.9 MB, free: 4.312 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.365e-05/0.5301, allocations: 11.94 kB / 414.9 MB, free: 4.301 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005348/0.5307, allocations: 201.6 kB / 415.1 MB, free: 4.105 MB / 346.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.002584/0.5333, allocations: 1.577 MB / 416.7 MB, free: 2.379 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004817/0.5338, allocations: 175.4 kB / 416.8 MB, free: 2.199 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.974e-05/0.5339, allocations: 7.984 kB / 416.9 MB, free: 2.191 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.912e-05/0.5339, allocations: 34.56 kB / 416.9 MB, free: 2.148 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 2.525e-06/0.5339, allocations: 4 kB / 416.9 MB, free: 2.145 MB / 346.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.009629/0.5436, allocations: 1.609 MB / 418.5 MB, free: 416 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.18e-05/0.5436, allocations: 55.41 kB / 418.6 MB, free: 348 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003937/0.544, allocations: 256.9 kB / 418.8 MB, free: 84 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.92e-05/0.5441, allocations: 29.7 kB / 418.8 MB, free: 48 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2141/0.7582, allocations: 227.7 kB / 419.1 MB, free: 127.2 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001617/0.7584, allocations: 99.97 kB / 419.2 MB, free: 127.2 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-05/0.7584, allocations: 7.219 kB / 419.2 MB, free: 127.2 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.466e-05/0.7585, allocations: 323.8 kB / 419.5 MB, free: 126.9 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003246/0.7589, allocations: 86.45 kB / 419.6 MB, free: 126.9 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003922/0.7593, allocations: 194.2 kB / 419.8 MB, free: 126.7 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003968/0.7597, allocations: 123.3 kB / 419.9 MB, free: 126.7 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.7597, allocations: 1.125 kB / 419.9 MB, free: 126.7 MB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001173/0.7609, allocations: 384.1 kB / 420.3 MB, free: 126.7 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.143e-05/0.761, allocations: 6.812 kB / 420.3 MB, free: 126.7 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/0.761, allocations: 6.953 kB / 420.3 MB, free: 126.7 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003601/0.7613, allocations: 77.28 kB / 420.3 MB, free: 126.7 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000644/0.762, allocations: 81.41 kB / 420.4 MB, free: 126.6 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001639/0.7637, allocations: 1.862 MB / 422.3 MB, free: 124.9 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004606/0.7642, allocations: 21.92 kB / 422.3 MB, free: 124.9 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.745e-05/0.7643, allocations: 40.27 kB / 422.3 MB, free: 124.9 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (40): * Single equations (assignments): 38 * 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 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002489/0.7645, allocations: 152.1 kB / 422.5 MB, free: 124.8 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.315e-05/0.7646, allocations: 32.64 kB / 422.5 MB, free: 124.7 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001499/0.7661, allocations: 444 kB / 423 MB, free: 124.7 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/0.7662, allocations: 3.188 kB / 423 MB, free: 124.7 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.7662, allocations: 0.9375 kB / 423 MB, free: 124.7 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006963/0.7669, allocations: 0.5615 MB / 423.5 MB, free: 124.2 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001399/0.7683, allocations: 0.7233 MB / 424.2 MB, free: 123.7 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.7683, allocations: 2.562 kB / 424.2 MB, free: 123.7 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005879/0.7689, allocations: 73.34 kB / 424.3 MB, free: 123.7 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001182/0.769, allocations: 17.95 kB / 424.3 MB, free: 123.7 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.072e-05/0.7691, allocations: 16 kB / 424.4 MB, free: 123.7 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008646/0.77, allocations: 1.286 MB / 425.6 MB, free: 122.3 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.77, allocations: 1.922 kB / 425.6 MB, free: 122.3 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009664/0.771, allocations: 485.7 kB / 426.1 MB, free: 122.1 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.828e-05/0.7711, allocations: 102.8 kB / 426.2 MB, free: 121.9 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.818e-05/0.7712, allocations: 7.5 kB / 426.2 MB, free: 121.9 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004266/0.7716, allocations: 21.42 kB / 426.2 MB, free: 121.9 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.768e-05/0.7717, allocations: 21.62 kB / 426.3 MB, free: 121.9 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.229e-05/0.7718, allocations: 31.98 kB / 426.3 MB, free: 121.9 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002638/0.7721, allocations: 188.3 kB / 426.5 MB, free: 121.8 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.7721, allocations: 6.969 kB / 426.5 MB, free: 121.8 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007271/0.7728, allocations: 120 kB / 426.6 MB, free: 121.8 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (26): * Single equations (assignments): 25 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00153/0.7744, allocations: 1.055 MB / 427.7 MB, free: 121 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009282/0.7753, allocations: 377.5 kB / 428 MB, free: 120.8 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.7753, allocations: 1.406 kB / 428 MB, free: 120.8 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004019/0.7757, allocations: 228.2 kB / 428.3 MB, free: 120.6 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001499/0.7772, allocations: 159.4 kB / 428.4 MB, free: 120.6 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003993/0.7813, allocations: 1.934 MB / 430.3 MB, free: 119.4 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002635/0.7816, allocations: 0.7696 MB / 431.1 MB, free: 118.7 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005257/0.7821, allocations: 134.6 kB / 431.2 MB, free: 118.7 MB / 346.7 MB Notification: Performance of SimCode: time 1.032e-06/0.7821, allocations: 0 / 431.2 MB, free: 118.7 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.053/3.835, allocations: 8.793 MB / 440 MB, free: 115.4 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air_res.mat does not exist to compare? outputFormat=mat