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.MoistAir.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.MoistAir,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.566/1.566, allocations: 171.1 MB / 186.7 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003405/0.0003404, allocations: 7.984 kB / 233.3 MB, free: 2.949 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07938/0.07976, allocations: 38.77 MB / 272.1 MB, free: 12.1 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.89/10.97, allocations: 3.693 GB / 3.959 GB, free: 102.2 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002527/10.97, allocations: 76.94 kB / 3.959 GB, free: 102.2 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1818/11.15, allocations: 48.45 MB / 4.007 GB, free: 74.34 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.625e-06/11.15, allocations: 4 kB / 4.007 GB, free: 74.34 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.432e-05/11.15, allocations: 4 kB / 4.007 GB, free: 74.34 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.002354/11.16, allocations: 0.6354 MB / 4.007 GB, free: 73.65 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/11.16, allocations: 8.031 kB / 4.007 GB, free: 73.64 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.699e-05/11.16, allocations: 50.55 kB / 4.007 GB, free: 73.58 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000167/11.16, allocations: 19.81 kB / 4.007 GB, free: 73.56 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002596/11.16, allocations: 202.9 kB / 4.007 GB, free: 73.32 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/11.16, allocations: 16.27 kB / 4.007 GB, free: 73.31 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.015e-05/11.16, allocations: 23.94 kB / 4.007 GB, free: 73.29 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007861/11.16, allocations: 249.5 kB / 4.008 GB, free: 73.03 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.883e-05/11.16, allocations: 7.984 kB / 4.008 GB, free: 73.02 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.341e-05/11.16, allocations: 8 kB / 4.008 GB, free: 73.02 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.687e-05/11.16, allocations: 12 kB / 4.008 GB, free: 73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001021/11.16, allocations: 267.7 kB / 4.008 GB, free: 72.74 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.00185/11.16, allocations: 0.6832 MB / 4.009 GB, free: 71.99 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009624/11.16, allocations: 221.1 kB / 4.009 GB, free: 71.75 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003681/11.16, allocations: 360.4 kB / 4.009 GB, free: 71.33 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/11.16, allocations: 38.92 kB / 4.009 GB, free: 71.28 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 3.196e-06/11.16, allocations: 4 kB / 4.009 GB, free: 71.28 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.003979/11.17, allocations: 0.6761 MB / 4.01 GB, free: 70.59 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.06e-05/11.17, allocations: 85.48 kB / 4.01 GB, free: 70.49 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/11.17, allocations: 109.2 kB / 4.01 GB, free: 70.38 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.543e-05/11.17, allocations: 37.7 kB / 4.01 GB, free: 70.34 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.139e-05/11.17, allocations: 171.2 kB / 4.01 GB, free: 70.16 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001215/11.17, allocations: 126.1 kB / 4.01 GB, free: 70.04 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.755e-05/11.17, allocations: 8 kB / 4.01 GB, free: 70.03 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.904e-05/11.17, allocations: 322.8 kB / 4.011 GB, free: 69.71 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006191/11.17, allocations: 135.8 kB / 4.011 GB, free: 69.57 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006573/11.17, allocations: 207.8 kB / 4.011 GB, free: 69.34 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000665/11.17, allocations: 157.4 kB / 4.011 GB, free: 69.19 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/11.17, allocations: 0 / 4.011 GB, free: 69.19 MB / 362.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001539/11.17, allocations: 412.1 kB / 4.012 GB, free: 68.79 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/11.17, allocations: 8 kB / 4.012 GB, free: 68.78 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/11.17, allocations: 0 / 4.012 GB, free: 68.78 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.653e-05/11.17, allocations: 4 kB / 4.012 GB, free: 68.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008542/11.17, allocations: 96.03 kB / 4.012 GB, free: 68.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.369e-05/11.17, allocations: 4 kB / 4.012 GB, free: 68.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005583/11.17, allocations: 35.81 kB / 4.012 GB, free: 68.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.216e-05/11.17, allocations: 12 kB / 4.012 GB, free: 68.63 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (43): * Single equations (assignments): 43 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001922/11.17, allocations: 137.8 kB / 4.012 GB, free: 68.48 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.976e-05/11.17, allocations: 23.77 kB / 4.012 GB, free: 68.46 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005583/11.17, allocations: 182.3 kB / 4.012 GB, free: 68.28 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.335e-06/11.17, allocations: 4 kB / 4.012 GB, free: 68.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.325e-06/11.17, allocations: 0 / 4.012 GB, free: 68.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/11.17, allocations: 4 kB / 4.012 GB, free: 68.27 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002372/11.18, allocations: 0.7579 MB / 4.013 GB, free: 67.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.852e-06/11.18, allocations: 0 / 4.013 GB, free: 67.44 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007823/11.18, allocations: 84.03 kB / 4.013 GB, free: 67.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.023e-05/11.18, allocations: 3.938 kB / 4.013 GB, free: 67.36 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.134e-05/11.18, allocations: 12 kB / 4.013 GB, free: 67.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.111e-06/11.18, allocations: 0 / 4.013 GB, free: 67.34 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/11.18, allocations: 8.328 kB / 4.013 GB, free: 67.34 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002157/11.18, allocations: 0.7831 MB / 4.014 GB, free: 66.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002001/11.18, allocations: 116.9 kB / 4.014 GB, free: 66.35 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.309e-05/11.18, allocations: 12.06 kB / 4.014 GB, free: 66.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005817/11.18, allocations: 27.88 kB / 4.014 GB, free: 66.31 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.312e-05/11.18, allocations: 27.95 kB / 4.014 GB, free: 66.28 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.455e-05/11.18, allocations: 8 kB / 4.014 GB, free: 66.27 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.763e-05/11.18, allocations: 99.27 kB / 4.014 GB, free: 66.18 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.41e-07/11.18, allocations: 0 / 4.014 GB, free: 66.18 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009636/11.18, allocations: 183.8 kB / 4.014 GB, free: 66 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,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 (38): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003605/11.18, allocations: 2.272 MB / 4.016 GB, free: 63.66 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001436/11.19, allocations: 339.9 kB / 4.017 GB, free: 63.32 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/11.19, allocations: 4.062 kB / 4.017 GB, free: 63.32 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006579/11.19, allocations: 181.9 kB / 4.017 GB, free: 63.14 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009954/11.19, allocations: 92.38 kB / 4.017 GB, free: 63.05 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005402/11.19, allocations: 2.858 MB / 4.02 GB, free: 60.09 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002365/11.19, allocations: 0.7411 MB / 4.02 GB, free: 59.32 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003204/11.19, allocations: 71.41 kB / 4.021 GB, free: 59.25 MB / 362.7 MB Notification: Performance of SimCode: time 1.453e-06/11.19, allocations: 0 / 4.021 GB, free: 59.25 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.796/13.99, allocations: 7.811 MB / 4.028 GB, free: 51.43 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Media.Examples.MoistAir_res.mat does not exist to compare? outputFormat=mat