Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_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_cpp_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.661/1.661, allocations: 171.1 MB / 186.7 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003722/0.0003723, allocations: 8 kB / 233.3 MB, free: 2.938 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0993/0.09971, allocations: 38.77 MB / 272.1 MB, free: 12.09 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3774/0.4772, allocations: 71 MB / 343.1 MB, free: 2.785 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002875/0.4775, allocations: 73.16 kB / 343.2 MB, free: 2.746 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05229/0.5298, allocations: 9.501 MB / 352.7 MB, free: 10.76 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.511e-06/0.5299, allocations: 3.938 kB / 352.7 MB, free: 10.75 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.078e-05/0.53, allocations: 11.94 kB / 352.7 MB, free: 10.74 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.002799/0.5328, allocations: 0.8057 MB / 353.5 MB, free: 9.918 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.681e-05/0.5329, allocations: 12.03 kB / 353.5 MB, free: 9.906 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001703/0.533, allocations: 76.31 kB / 353.6 MB, free: 9.848 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001595/0.5332, allocations: 63.25 kB / 353.6 MB, free: 9.785 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000773/0.534, allocations: 374.6 kB / 354 MB, free: 9.426 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001443/0.5342, allocations: 72.23 kB / 354.1 MB, free: 9.359 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.025e-05/0.5343, allocations: 34.69 kB / 354.1 MB, free: 9.336 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001301/0.5356, allocations: 492.7 kB / 354.6 MB, free: 8.918 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.352e-05/0.5356, allocations: 4 kB / 354.6 MB, free: 8.914 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.922e-05/0.5357, allocations: 17.5 kB / 354.6 MB, free: 8.906 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.474e-05/0.5357, allocations: 8 kB / 354.6 MB, free: 8.898 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001459/0.5372, allocations: 378.8 kB / 355 MB, free: 8.625 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00324/0.5405, allocations: 1.27 MB / 356.3 MB, free: 7.582 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001327/0.5418, allocations: 445.1 kB / 356.7 MB, free: 7.223 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.632e-05/0.5419, allocations: 12.62 kB / 356.7 MB, free: 7.211 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.547e-05/0.542, allocations: 41.62 kB / 356.8 MB, free: 7.168 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 3.457e-06/0.542, allocations: 0 / 356.8 MB, free: 7.168 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.002758/0.5447, allocations: 0.7681 MB / 357.5 MB, free: 6.492 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002568/0.545, allocations: 452.4 kB / 358 MB, free: 5.949 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007964/0.5458, allocations: 385.9 kB / 358.3 MB, free: 5.652 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.629e-05/0.5459, allocations: 39.14 kB / 358.4 MB, free: 5.613 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002521/0.5462, allocations: 276.2 kB / 358.6 MB, free: 5.406 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001673/0.5464, allocations: 125.5 kB / 358.8 MB, free: 5.301 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.005e-05/0.5464, allocations: 3.75 kB / 358.8 MB, free: 5.301 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.5466, allocations: 325.2 kB / 359.1 MB, free: 4.98 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006582/0.5473, allocations: 152.9 kB / 359.2 MB, free: 4.875 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008456/0.5481, allocations: 305 kB / 359.5 MB, free: 4.586 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007184/0.5489, allocations: 199.5 kB / 359.7 MB, free: 4.441 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/0.5489, allocations: 4 kB / 359.7 MB, free: 4.438 MB / 282.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001726/0.5506, allocations: 490.8 kB / 360.2 MB, free: 4.051 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.329e-05/0.5507, allocations: 37.08 kB / 360.3 MB, free: 4.012 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.5507, allocations: 0 / 360.3 MB, free: 4.012 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002388/0.5509, allocations: 52.25 kB / 360.3 MB, free: 3.965 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007982/0.5518, allocations: 87.94 kB / 360.4 MB, free: 3.879 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003455/0.5552, allocations: 2.768 MB / 363.2 MB, free: 1.027 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000746/0.556, allocations: 61.08 kB / 363.2 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.694e-05/0.5561, allocations: 11.81 kB / 363.2 MB, free: 0.9648 MB / 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.0003763/0.5565, allocations: 180.3 kB / 363.4 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001269/0.5566, allocations: 47.44 kB / 363.5 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001329/0.5568, allocations: 51.38 kB / 363.5 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.5568, allocations: 7.938 kB / 363.5 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.5568, allocations: 4 kB / 363.5 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001639/0.5584, allocations: 0.7658 MB / 364.3 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002711/0.5612, allocations: 1.053 MB / 365.3 MB, free: 15.06 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.5612, allocations: 0 / 365.3 MB, free: 15.06 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008382/0.5621, allocations: 95 kB / 365.4 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.753e-06/0.5621, allocations: 0 / 365.4 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.259e-05/0.5621, allocations: 13.11 kB / 365.4 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.149e-06/0.5622, allocations: 0 / 365.4 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.5622, allocations: 7.953 kB / 365.4 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002273/0.5645, allocations: 0.6994 MB / 366.1 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001932/0.5647, allocations: 131.7 kB / 366.3 MB, free: 14.27 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001108/0.5648, allocations: 14.98 kB / 366.3 MB, free: 14.26 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000526/0.5653, allocations: 31.23 kB / 366.3 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.5654, allocations: 31.89 kB / 366.3 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.83e-05/0.5655, allocations: 19.58 kB / 366.4 MB, free: 14.19 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005469/0.5661, allocations: 306 kB / 366.7 MB, free: 13.96 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.5661, allocations: 0 / 366.7 MB, free: 13.96 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007157/0.5668, allocations: 137.5 kB / 366.8 MB, free: 13.84 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.002696/0.5695, allocations: 1.274 MB / 368.1 MB, free: 12.7 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00197/0.5715, allocations: 0.663 MB / 368.7 MB, free: 12.11 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.194e-06/0.5715, allocations: 8.062 kB / 368.7 MB, free: 12.1 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007157/0.5723, allocations: 194.9 kB / 368.9 MB, free: 11.95 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009685/0.5732, allocations: 129.5 kB / 369.1 MB, free: 11.86 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003465/0.5767, allocations: 1.651 MB / 370.7 MB, free: 10.25 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005308/0.5773, allocations: 0.8393 MB / 371.6 MB, free: 9.387 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003854/0.5777, allocations: 162.9 kB / 371.7 MB, free: 9.336 MB / 298.7 MB Notification: Performance of SimCode: time 9.42e-07/0.5777, allocations: 0 / 371.7 MB, free: 9.336 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.901/3.479, allocations: 10.19 MB / 381.9 MB, free: 15.27 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat does not exist to compare? outputFormat=mat