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.Nitrogen.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.Nitrogen,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.886/1.886, allocations: 171.1 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003547/0.0003548, allocations: 8 kB / 233.3 MB, free: 0.832 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08293/0.08331, allocations: 38.78 MB / 272.1 MB, free: 9.973 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.27/1.353, allocations: 428.1 MB / 0.6839 GB, free: 3.941 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003662/1.353, allocations: 97.08 kB / 0.684 GB, free: 3.883 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.833/2.186, allocations: 143.5 MB / 0.8241 GB, free: 14.3 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.334e-06/2.186, allocations: 0 / 0.8241 GB, free: 14.3 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.306e-05/2.186, allocations: 7.984 kB / 0.8241 GB, free: 14.3 MB / 362.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.001229/2.188, allocations: 0.6322 MB / 0.8247 GB, free: 13.61 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/2.188, allocations: 8.031 kB / 0.8247 GB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.603e-05/2.188, allocations: 66.47 kB / 0.8248 GB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003396/2.188, allocations: 47.56 kB / 0.8249 GB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004141/2.189, allocations: 278.8 kB / 0.8251 GB, free: 13.17 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.316e-05/2.189, allocations: 20.56 kB / 0.8251 GB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.975e-05/2.189, allocations: 31.98 kB / 0.8252 GB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006624/2.189, allocations: 303.7 kB / 0.8255 GB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.16e-05/2.189, allocations: 11.89 kB / 0.8255 GB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.229e-05/2.19, allocations: 12 kB / 0.8255 GB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/2.19, allocations: 4 kB / 0.8255 GB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004476/2.19, allocations: 209.5 kB / 0.8257 GB, free: 12.57 MB / 362.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.002084/2.192, allocations: 1.57 MB / 0.8272 GB, free: 10.84 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003748/2.193, allocations: 172.1 kB / 0.8274 GB, free: 10.66 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.081e-05/2.193, allocations: 12.16 kB / 0.8274 GB, free: 10.65 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.104e-05/2.193, allocations: 34.75 kB / 0.8274 GB, free: 10.61 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 2.414e-06/2.193, allocations: 4 kB / 0.8274 GB, free: 10.61 MB / 362.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.008826/2.201, allocations: 1.614 MB / 0.829 GB, free: 8.863 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/2.202, allocations: 59.39 kB / 0.8291 GB, free: 8.793 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003089/2.202, allocations: 228 kB / 0.8293 GB, free: 8.566 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.624e-05/2.202, allocations: 29.7 kB / 0.8293 GB, free: 8.531 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.988e-05/2.202, allocations: 230.7 kB / 0.8295 GB, free: 8.305 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.561e-05/2.202, allocations: 98.64 kB / 0.8296 GB, free: 8.207 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.058e-05/2.202, allocations: 4 kB / 0.8296 GB, free: 8.203 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.525e-05/2.202, allocations: 330.8 kB / 0.8299 GB, free: 7.871 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002327/2.203, allocations: 95.67 kB / 0.83 GB, free: 7.777 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002824/2.203, allocations: 183.8 kB / 0.8302 GB, free: 7.555 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003032/2.203, allocations: 127.9 kB / 0.8303 GB, free: 7.43 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/2.203, allocations: 7.938 kB / 0.8303 GB, free: 7.422 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008973/2.204, allocations: 370.8 kB / 0.8307 GB, free: 7.047 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/2.204, allocations: 8 kB / 0.8307 GB, free: 7.039 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/2.204, allocations: 4.406 kB / 0.8307 GB, free: 7.035 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003041/2.204, allocations: 77.69 kB / 0.8308 GB, free: 6.953 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005708/2.205, allocations: 79.89 kB / 0.8309 GB, free: 6.875 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001479/2.206, allocations: 1.86 MB / 0.8327 GB, free: 4.855 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004682/2.207, allocations: 24.17 kB / 0.8327 GB, free: 4.832 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.49e-05/2.207, allocations: 43.98 kB / 0.8327 GB, free: 4.789 MB / 362.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.0002517/2.207, allocations: 149.7 kB / 0.8329 GB, free: 4.633 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.054e-05/2.207, allocations: 31.67 kB / 0.8329 GB, free: 4.602 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001413/2.209, allocations: 443.8 kB / 0.8333 GB, free: 4.152 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/2.209, allocations: 7.984 kB / 0.8333 GB, free: 4.145 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/2.209, allocations: 4 kB / 0.8333 GB, free: 4.141 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006885/2.21, allocations: 0.5552 MB / 0.8339 GB, free: 3.496 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001358/2.211, allocations: 0.7197 MB / 0.8346 GB, free: 2.711 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/2.211, allocations: 4 kB / 0.8346 GB, free: 2.707 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005308/2.212, allocations: 67.89 kB / 0.8347 GB, free: 2.641 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001123/2.212, allocations: 24.91 kB / 0.8347 GB, free: 2.613 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.559e-05/2.212, allocations: 12 kB / 0.8347 GB, free: 2.602 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008533/2.213, allocations: 1.288 MB / 0.836 GB, free: 1.18 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/2.213, allocations: 0 / 0.836 GB, free: 1.18 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/2.214, allocations: 0.4972 MB / 0.8364 GB, free: 0.6445 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001267/2.214, allocations: 104.8 kB / 0.8365 GB, free: 0.5234 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.07e-05/2.214, allocations: 4 kB / 0.8365 GB, free: 0.5195 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004251/2.214, allocations: 16 kB / 0.8366 GB, free: 0.5039 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.203e-05/2.214, allocations: 23.97 kB / 0.8366 GB, free: 492 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.574e-05/2.214, allocations: 31.98 kB / 0.8366 GB, free: 460 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002523/2.215, allocations: 194 kB / 0.8368 GB, free: 268 kB / 362.7 MB Notification: Performance of sort global known variables: time 4.2e-07/2.215, allocations: 0 / 0.8368 GB, free: 268 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.001042/2.216, allocations: 187.9 kB / 0.837 GB, free: 80 kB / 362.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.2661/2.482, allocations: 1.836 MB / 0.8388 GB, free: 76.83 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001183/2.483, allocations: 369.6 kB / 0.8391 GB, free: 76.73 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/2.483, allocations: 1.438 kB / 0.8391 GB, free: 76.73 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004609/2.484, allocations: 228.5 kB / 0.8393 GB, free: 76.62 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001679/2.485, allocations: 160.5 kB / 0.8395 GB, free: 76.62 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00501/2.49, allocations: 3.868 MB / 0.8433 GB, free: 73.92 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003355/2.491, allocations: 0.7728 MB / 0.844 GB, free: 73.22 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006065/2.491, allocations: 134.1 kB / 0.8442 GB, free: 73.21 MB / 362.7 MB Notification: Performance of SimCode: time 1.202e-06/2.491, allocations: 0.75 kB / 0.8442 GB, free: 73.21 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.111/5.602, allocations: 12.93 MB / 0.8568 GB, free: 72.95 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen_res.mat does not exist to compare? outputFormat=mat