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.ReferenceAir.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.ReferenceAir.MoistAir,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.688/1.688, allocations: 171.2 MB / 186.8 MB, free: 1.035 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003658/0.0003658, allocations: 8 kB / 233.3 MB, free: 2.918 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08483/0.08523, allocations: 38.77 MB / 272.1 MB, free: 12.07 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 19.35/19.43, allocations: 6.605 GB / 6.871 GB, free: 93.61 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003012/19.43, allocations: 76.91 kB / 6.871 GB, free: 93.61 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.126/20.56, allocations: 190.5 MB / 7.057 GB, free: 74.57 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.146e-06/20.56, allocations: 3.938 kB / 7.057 GB, free: 74.57 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.403e-05/20.56, allocations: 3.875 kB / 7.057 GB, free: 74.57 MB / 378.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.008226/20.57, allocations: 1.461 MB / 7.058 GB, free: 73.62 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.783e-05/20.57, allocations: 7.812 kB / 7.058 GB, free: 73.62 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001087/20.57, allocations: 57.7 kB / 7.059 GB, free: 73.58 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001802/20.57, allocations: 18.66 kB / 7.059 GB, free: 73.57 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002978/20.57, allocations: 218.6 kB / 7.059 GB, free: 73.36 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/20.57, allocations: 10.98 kB / 7.059 GB, free: 73.36 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.297e-05/20.57, allocations: 15.16 kB / 7.059 GB, free: 73.36 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001021/20.57, allocations: 266.2 kB / 7.059 GB, free: 73.31 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/20.57, allocations: 3.703 kB / 7.059 GB, free: 73.31 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.538e-05/20.57, allocations: 11.05 kB / 7.059 GB, free: 73.3 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.533e-05/20.57, allocations: 3.844 kB / 7.059 GB, free: 73.3 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001226/20.57, allocations: 278.8 kB / 7.059 GB, free: 73.3 MB / 378.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.001941/20.57, allocations: 0.6776 MB / 7.06 GB, free: 72.91 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001074/20.57, allocations: 314.6 kB / 7.06 GB, free: 72.76 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0162/20.59, allocations: 10.06 MB / 7.07 GB, free: 62.55 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.046e-05/20.59, allocations: 34.56 kB / 7.07 GB, free: 62.51 MB / 378.7 MB Notification: Performance of pre-optimization done (n=29): time 3.326e-06/20.59, allocations: 0 / 7.07 GB, free: 62.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.004642/20.59, allocations: 0.6854 MB / 7.071 GB, free: 62.42 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/20.59, allocations: 84.5 kB / 7.071 GB, free: 62.33 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/20.59, allocations: 117.3 kB / 7.071 GB, free: 62.23 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.109e-05/20.59, allocations: 32.27 kB / 7.071 GB, free: 62.2 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.569e-05/20.59, allocations: 180.9 kB / 7.071 GB, free: 62.04 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001377/20.59, allocations: 125.4 kB / 7.071 GB, free: 61.96 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.798e-05/20.6, allocations: 10.06 kB / 7.071 GB, free: 61.96 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.612e-05/20.6, allocations: 325.2 kB / 7.072 GB, free: 61.64 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006503/20.6, allocations: 126.6 kB / 7.072 GB, free: 61.64 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007808/20.6, allocations: 214.6 kB / 7.072 GB, free: 61.56 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007565/20.6, allocations: 148.3 kB / 7.072 GB, free: 61.56 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/20.6, allocations: 3.219 kB / 7.072 GB, free: 61.56 MB / 378.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001792/20.6, allocations: 412.6 kB / 7.073 GB, free: 61.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.074e-05/20.6, allocations: 7.094 kB / 7.073 GB, free: 61.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/20.6, allocations: 3.938 kB / 7.073 GB, free: 61.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.84e-05/20.6, allocations: 16 kB / 7.073 GB, free: 61.49 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008406/20.6, allocations: 85.92 kB / 7.073 GB, free: 61.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.498e-05/20.6, allocations: 7.875 kB / 7.073 GB, free: 61.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005518/20.6, allocations: 25.27 kB / 7.073 GB, free: 61.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.725e-05/20.6, allocations: 17.31 kB / 7.073 GB, free: 61.48 MB / 378.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.0002136/20.6, allocations: 146.5 kB / 7.073 GB, free: 61.36 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001976/20.6, allocations: 19.16 kB / 7.073 GB, free: 61.35 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007221/20.6, allocations: 197.8 kB / 7.073 GB, free: 61.3 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/20.6, allocations: 7.781 kB / 7.073 GB, free: 61.3 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.979e-06/20.6, allocations: 3.953 kB / 7.073 GB, free: 61.29 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/20.6, allocations: 0 / 7.073 GB, free: 61.29 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003048/20.61, allocations: 0.9679 MB / 7.074 GB, free: 60.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.837e-06/20.61, allocations: 3.656 kB / 7.074 GB, free: 60.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007812/20.61, allocations: 85.16 kB / 7.074 GB, free: 60.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.305e-05/20.61, allocations: 5.312 kB / 7.074 GB, free: 60.83 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.506e-05/20.61, allocations: 13.67 kB / 7.074 GB, free: 60.83 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.266e-06/20.61, allocations: 3.875 kB / 7.074 GB, free: 60.83 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/20.61, allocations: 0 / 7.074 GB, free: 60.83 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002529/20.61, allocations: 0.7964 MB / 7.075 GB, free: 60.45 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002134/20.61, allocations: 127.8 kB / 7.075 GB, free: 60.34 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.746e-05/20.61, allocations: 12.69 kB / 7.075 GB, free: 60.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005825/20.61, allocations: 22.12 kB / 7.075 GB, free: 60.34 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.848e-05/20.61, allocations: 25.84 kB / 7.075 GB, free: 60.33 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.508e-05/20.61, allocations: 20.64 kB / 7.075 GB, free: 60.33 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.766e-05/20.61, allocations: 96.58 kB / 7.075 GB, free: 60.26 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.11e-07/20.61, allocations: 11.88 kB / 7.075 GB, free: 60.25 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.005806/20.62, allocations: 1.088 MB / 7.076 GB, free: 60.05 MB / 378.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 (39): * Single equations (assignments): 39 * 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.01406/20.63, allocations: 3.246 MB / 7.079 GB, free: 58.44 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001823/20.63, allocations: 340.2 kB / 7.08 GB, free: 58.39 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/20.63, allocations: 4.125 kB / 7.08 GB, free: 58.39 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008021/20.63, allocations: 185.6 kB / 7.08 GB, free: 58.28 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/20.63, allocations: 96.2 kB / 7.08 GB, free: 58.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009153/20.64, allocations: 3.233 MB / 7.083 GB, free: 55.37 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003638/20.64, allocations: 0.7473 MB / 7.084 GB, free: 54.62 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003985/20.64, allocations: 75.17 kB / 7.084 GB, free: 54.59 MB / 378.7 MB Notification: Performance of SimCode: time 1.262e-06/20.64, allocations: 0 / 7.084 GB, free: 54.59 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.487/24.13, allocations: 27.14 MB / 7.11 GB, free: 31.3 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat does not exist to compare? outputFormat=mat