Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_3_2_1_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.753/1.753, allocations: 171.2 MB / 186.1 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003808/0.0003812, allocations: 8 kB / 233.4 MB, free: 2.266 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08316/0.08359, allocations: 38.77 MB / 272.1 MB, free: 11.42 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3595/0.4431, allocations: 71 MB / 343.1 MB, free: 1.934 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002873/0.4435, allocations: 77.72 kB / 343.2 MB, free: 1.891 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04229/0.4858, allocations: 9.503 MB / 352.7 MB, free: 9.895 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.4859, allocations: 0 / 352.7 MB, free: 9.895 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.892e-05/0.4859, allocations: 8.219 kB / 352.7 MB, free: 9.887 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.002069/0.488, allocations: 0.8059 MB / 353.5 MB, free: 9.062 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.4e-05/0.4881, allocations: 12.03 kB / 353.5 MB, free: 9.051 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001953/0.4883, allocations: 79.42 kB / 353.6 MB, free: 8.984 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001653/0.4885, allocations: 63.25 kB / 353.7 MB, free: 8.922 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007941/0.4893, allocations: 379.5 kB / 354 MB, free: 8.562 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001411/0.4894, allocations: 65.11 kB / 354.1 MB, free: 8.5 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.966e-05/0.4895, allocations: 35.06 kB / 354.1 MB, free: 8.477 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001317/0.4909, allocations: 0.4885 MB / 354.6 MB, free: 8.051 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.986e-05/0.4909, allocations: 0 / 354.6 MB, free: 8.051 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.538e-05/0.491, allocations: 18.67 kB / 354.6 MB, free: 8.043 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.444e-05/0.491, allocations: 8 kB / 354.7 MB, free: 8.035 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001468/0.4925, allocations: 374.9 kB / 355 MB, free: 7.766 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003225/0.4957, allocations: 1.267 MB / 356.3 MB, free: 6.723 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001351/0.4971, allocations: 447.6 kB / 356.7 MB, free: 6.363 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.279e-05/0.4972, allocations: 7.984 kB / 356.7 MB, free: 6.355 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.113e-05/0.4973, allocations: 45.62 kB / 356.8 MB, free: 6.305 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 3.377e-06/0.4973, allocations: 0.6562 kB / 356.8 MB, free: 6.305 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.002771/0.5001, allocations: 0.7631 MB / 357.5 MB, free: 5.637 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002353/0.5004, allocations: 456.1 kB / 358 MB, free: 5.09 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008064/0.5012, allocations: 385.2 kB / 358.4 MB, free: 4.793 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001066/0.5013, allocations: 35.64 kB / 358.4 MB, free: 4.758 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002368/0.5015, allocations: 245.4 kB / 358.6 MB, free: 4.598 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001552/0.5017, allocations: 120.6 kB / 358.8 MB, free: 4.492 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.455e-05/0.5018, allocations: 10.94 kB / 358.8 MB, free: 4.488 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.5019, allocations: 352.5 kB / 359.1 MB, free: 4.152 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006926/0.5026, allocations: 165.7 kB / 359.3 MB, free: 4.035 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008295/0.5035, allocations: 295.1 kB / 359.6 MB, free: 3.754 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007682/0.5043, allocations: 209.5 kB / 359.8 MB, free: 3.602 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/0.5043, allocations: 0 / 359.8 MB, free: 3.602 MB / 282.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001811/0.5061, allocations: 0.5028 MB / 360.3 MB, free: 3.191 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.25e-05/0.5062, allocations: 37.64 kB / 360.3 MB, free: 3.152 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.5062, allocations: 4.031 kB / 360.3 MB, free: 3.148 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002296/0.5065, allocations: 49.44 kB / 360.4 MB, free: 3.102 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007816/0.5073, allocations: 91.5 kB / 360.4 MB, free: 3.016 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003366/0.5106, allocations: 2.771 MB / 363.2 MB, free: 164 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007698/0.5115, allocations: 62.45 kB / 363.3 MB, free: 108 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.6e-05/0.5115, allocations: 15.94 kB / 363.3 MB, free: 96 kB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (38): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 1 * 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 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004079/0.512, allocations: 176.7 kB / 363.5 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001915/0.5122, allocations: 47.44 kB / 363.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001636/0.5123, allocations: 54.56 kB / 363.6 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.625e-06/0.5124, allocations: 4 kB / 363.6 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.5124, allocations: 0 / 363.6 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001699/0.5141, allocations: 0.7635 MB / 364.3 MB, free: 15.08 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002862/0.517, allocations: 1.048 MB / 365.4 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/0.517, allocations: 3.984 kB / 365.4 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008659/0.5179, allocations: 99.38 kB / 365.5 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.066e-05/0.5179, allocations: 4 kB / 365.5 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.532e-05/0.518, allocations: 3.5 kB / 365.5 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.171e-06/0.518, allocations: 0 / 365.5 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/0.518, allocations: 7.953 kB / 365.5 MB, free: 14.1 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002362/0.5204, allocations: 0.7038 MB / 366.2 MB, free: 13.54 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002131/0.5207, allocations: 131.4 kB / 366.3 MB, free: 13.4 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001238/0.5208, allocations: 9.75 kB / 366.3 MB, free: 13.4 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005398/0.5213, allocations: 33.84 kB / 366.4 MB, free: 13.37 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.5215, allocations: 22.72 kB / 366.4 MB, free: 13.35 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.456e-05/0.5215, allocations: 15.02 kB / 366.4 MB, free: 13.34 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005688/0.5221, allocations: 314 kB / 366.7 MB, free: 13.1 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.9e-07/0.5221, allocations: 3.938 kB / 366.7 MB, free: 13.1 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007449/0.5229, allocations: 142.5 kB / 366.9 MB, free: 12.97 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.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 (36): * Single equations (assignments): 36 * 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.002865/0.5258, allocations: 1.275 MB / 368.1 MB, free: 11.84 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002081/0.5279, allocations: 0.6698 MB / 368.8 MB, free: 11.23 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.528, allocations: 0 / 368.8 MB, free: 11.23 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008015/0.5288, allocations: 197.6 kB / 369 MB, free: 11.09 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00106/0.5299, allocations: 114.8 kB / 369.1 MB, free: 11.01 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00387/0.5338, allocations: 1.634 MB / 370.7 MB, free: 9.422 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005521/0.5344, allocations: 0.8394 MB / 371.6 MB, free: 8.555 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0004778/0.5349, allocations: 56.23 kB / 371.6 MB, free: 8.5 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003589/0.5352, allocations: 166.9 kB / 371.8 MB, free: 8.445 MB / 298.7 MB Notification: Performance of SimCode: time 1.303e-06/0.5352, allocations: 0 / 371.8 MB, free: 8.445 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04935/0.5846, allocations: 11.61 MB / 383.4 MB, free: 12.9 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003471/0.585, allocations: 201.5 kB / 383.6 MB, free: 12.66 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.082/3.668, allocations: 0 / 383.6 MB, free: 12.66 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat does not exist to compare? outputFormat=mat