Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.555/2.555, allocations: 235.1 MB / 243 MB, free: 9.594 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.962e-05/1.962e-05, allocations: 0 / 303.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.358/0.358, allocations: 54.86 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.892/2.25, allocations: 0.636 GB / 0.9858 GB, free: 39.25 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003861/2.25, allocations: 90.06 kB / 0.9859 GB, free: 39.2 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.09/3.341, allocations: 226.9 MB / 1.207 GB, free: 19.09 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.964e-06/3.341, allocations: 0 / 1.207 GB, free: 19.09 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.195e-05/3.341, allocations: 32.55 kB / 1.208 GB, free: 19.06 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.003765/3.344, allocations: 1.158 MB / 1.209 GB, free: 17.86 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/3.345, allocations: 12.02 kB / 1.209 GB, free: 17.84 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00127/3.346, allocations: 127.1 kB / 1.209 GB, free: 17.72 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001635/3.348, allocations: 0.5467 MB / 1.209 GB, free: 17.12 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001074/3.348, allocations: 84.72 kB / 1.209 GB, free: 17.03 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001199/3.348, allocations: 31.95 kB / 1.209 GB, free: 17 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001275/3.349, allocations: 0.5335 MB / 1.21 GB, free: 16.46 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001423/3.351, allocations: 0.7171 MB / 1.211 GB, free: 15.68 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.171e-05/3.351, allocations: 3.938 kB / 1.211 GB, free: 15.67 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.867e-05/3.351, allocations: 4 kB / 1.211 GB, free: 15.67 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-05/3.351, allocations: 41.3 kB / 1.211 GB, free: 15.62 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.005923/3.357, allocations: 3.877 MB / 1.214 GB, free: 11.51 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006189/3.357, allocations: 239.2 kB / 1.215 GB, free: 11.27 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002655/3.358, allocations: 129.3 kB / 1.215 GB, free: 11.14 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.784e-05/3.358, allocations: 24.97 kB / 1.215 GB, free: 11.11 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/3.358, allocations: 42.8 kB / 1.215 GB, free: 11.06 MB / 490.7 MB Notification: Performance of pre-optimization done (n=27): time 3.587e-06/3.358, allocations: 0 / 1.215 GB, free: 11.06 MB / 490.7 MB Notification: Performance of matching and sorting (n=32): time 0.008684/3.366, allocations: 1.411 MB / 1.216 GB, free: 9.57 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.073e-05/3.367, allocations: 136.5 kB / 1.216 GB, free: 9.406 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007642/3.367, allocations: 474 kB / 1.217 GB, free: 8.941 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.656e-05/3.367, allocations: 29.7 kB / 1.217 GB, free: 8.906 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002479/3.368, allocations: 445.1 kB / 1.217 GB, free: 8.465 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001152/3.368, allocations: 114.4 kB / 1.217 GB, free: 8.352 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.881e-05/3.368, allocations: 0 / 1.217 GB, free: 8.352 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.405e-05/3.368, allocations: 342.8 kB / 1.218 GB, free: 8.008 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004001/3.368, allocations: 177.5 kB / 1.218 GB, free: 7.836 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005768/3.369, allocations: 0.5005 MB / 1.218 GB, free: 7.172 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009657/3.37, allocations: 335.4 kB / 1.219 GB, free: 6.844 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.008e-05/3.37, allocations: 7.953 kB / 1.219 GB, free: 6.836 MB / 490.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002064/3.372, allocations: 0.7981 MB / 1.22 GB, free: 6.027 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.903e-05/3.372, allocations: 14.75 kB / 1.22 GB, free: 6.016 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.587e-05/3.372, allocations: 12.84 kB / 1.22 GB, free: 6.004 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00175/3.374, allocations: 264.6 kB / 1.22 GB, free: 5.742 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007839/3.375, allocations: 131.8 kB / 1.22 GB, free: 5.613 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00138/3.376, allocations: 0.9152 MB / 1.221 GB, free: 4.672 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001002/3.377, allocations: 36 kB / 1.221 GB, free: 4.637 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001209/3.377, allocations: 71.98 kB / 1.221 GB, free: 4.566 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 71 * 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: 0 * Non-linear torn systems: 1 {2 16} Notification: Performance of prepare postOptimizeDAE: time 0.0002099/3.378, allocations: 132.7 kB / 1.221 GB, free: 4.43 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001216/3.379, allocations: 421.6 kB / 1.221 GB, free: 4.008 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/3.379, allocations: 59.34 kB / 1.221 GB, free: 3.949 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001533/3.38, allocations: 0.5112 MB / 1.222 GB, free: 3.43 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/3.38, allocations: 4 kB / 1.222 GB, free: 3.426 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/3.38, allocations: 4 kB / 1.222 GB, free: 3.422 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/3.38, allocations: 0 / 1.222 GB, free: 3.422 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002066/3.383, allocations: 0.9609 MB / 1.223 GB, free: 2.41 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/3.383, allocations: 0 / 1.223 GB, free: 2.41 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001826/3.384, allocations: 203.8 kB / 1.223 GB, free: 2.211 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001186/3.385, allocations: 24.84 kB / 1.223 GB, free: 2.184 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.399e-05/3.385, allocations: 4 kB / 1.223 GB, free: 2.18 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3443/3.729, allocations: 2.583 MB / 1.226 GB, free: 93.4 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.856e-06/3.729, allocations: 2.047 kB / 1.226 GB, free: 93.4 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002048/3.731, allocations: 0.6724 MB / 1.226 GB, free: 93.24 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004612/3.732, allocations: 171.1 kB / 1.227 GB, free: 93.15 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001471/3.732, allocations: 2.312 kB / 1.227 GB, free: 93.15 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007258/3.732, allocations: 23.25 kB / 1.227 GB, free: 93.15 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001739/3.733, allocations: 31.45 kB / 1.227 GB, free: 93.15 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.856e-05/3.733, allocations: 37.84 kB / 1.227 GB, free: 93.15 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006808/3.733, allocations: 348 kB / 1.227 GB, free: 93.06 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.41e-07/3.733, allocations: 1.375 kB / 1.227 GB, free: 93.06 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002306/3.736, allocations: 336.2 kB / 1.227 GB, free: 93.06 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.005065/3.741, allocations: 2.372 MB / 1.23 GB, free: 92.23 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001769/3.743, allocations: 485.2 kB / 1.23 GB, free: 92.22 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.074e-06/3.743, allocations: 1.469 kB / 1.23 GB, free: 92.22 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001359/3.744, allocations: 351.9 kB / 1.23 GB, free: 92.12 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002223/3.746, allocations: 236.4 kB / 1.231 GB, free: 92.11 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01147/3.758, allocations: 2.54 MB / 1.233 GB, free: 91.79 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004953/3.758, allocations: 0.9391 MB / 1.234 GB, free: 91.09 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008178/3.759, allocations: 271.5 kB / 1.234 GB, free: 91.09 MB / 490.7 MB Notification: Performance of SimCode: time 1.764e-06/3.759, allocations: 0 / 1.234 GB, free: 91.09 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.368/7.127, allocations: 22.82 MB / 1.257 GB, free: 90.68 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat does not exist to compare? outputFormat=mat