Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.154/2.154, allocations: 194.8 MB / 211.7 MB, free: 2.992 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005784/0.0005785, allocations: 8 kB / 264 MB, free: 13.49 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1528, allocations: 44.51 MB / 308.5 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5737/0.7266, allocations: 74 MB / 382.5 MB, free: 14.22 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004175/0.7271, allocations: 71.34 kB / 382.6 MB, free: 14.22 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02536/0.7525, allocations: 3.84 MB / 386.4 MB, free: 13.66 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.627e-06/0.7525, allocations: 1.25 kB / 386.4 MB, free: 13.66 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.535e-05/0.7526, allocations: 3.969 kB / 386.4 MB, free: 13.66 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001636/0.7543, allocations: 0.5113 MB / 387 MB, free: 13.24 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.173e-05/0.7544, allocations: 9.125 kB / 387 MB, free: 13.24 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001887/0.7546, allocations: 60.8 kB / 387 MB, free: 13.2 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002253/0.7548, allocations: 24.81 kB / 387 MB, free: 13.19 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004578/0.7553, allocations: 229 kB / 387.3 MB, free: 12.96 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.448e-05/0.7554, allocations: 19.19 kB / 387.3 MB, free: 12.96 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.883e-05/0.7555, allocations: 20.81 kB / 387.3 MB, free: 12.96 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009961/0.7565, allocations: 238.3 kB / 387.5 MB, free: 12.9 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.161e-05/0.7566, allocations: 1.312 kB / 387.5 MB, free: 12.9 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.919e-05/0.7566, allocations: 8.344 kB / 387.6 MB, free: 12.9 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.561e-05/0.7567, allocations: 5.281 kB / 387.6 MB, free: 12.9 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009752/0.7577, allocations: 165.9 kB / 387.7 MB, free: 12.9 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00272/0.7604, allocations: 0.8288 MB / 388.5 MB, free: 12.41 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008843/0.7614, allocations: 173.4 kB / 388.7 MB, free: 12.38 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.962e-05/0.7615, allocations: 2.531 kB / 388.7 MB, free: 12.38 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.7615, allocations: 31.84 kB / 388.8 MB, free: 12.34 MB / 314.7 MB Notification: Performance of pre-optimization done (n=16): time 5.079e-06/0.7615, allocations: 0 / 388.8 MB, free: 12.34 MB / 314.7 MB Notification: Performance of matching and sorting (n=16): time 0.001931/0.7635, allocations: 356.8 kB / 389.1 MB, free: 12.19 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.777e-05/0.7636, allocations: 55.28 kB / 389.2 MB, free: 12.12 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000267/0.7639, allocations: 159.3 kB / 389.3 MB, free: 12.03 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.904e-05/0.7639, allocations: 25.7 kB / 389.3 MB, free: 12 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.764, allocations: 206.5 kB / 389.5 MB, free: 11.82 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.433e-05/0.7642, allocations: 59.31 kB / 389.6 MB, free: 11.79 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.519e-05/0.7642, allocations: 3.938 kB / 389.6 MB, free: 11.78 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.043e-05/0.7643, allocations: 325 kB / 389.9 MB, free: 11.46 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003878/0.7647, allocations: 58.8 kB / 390 MB, free: 11.46 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003735/0.7651, allocations: 91.91 kB / 390.1 MB, free: 11.43 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003653/0.7655, allocations: 57.12 kB / 390.1 MB, free: 11.42 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.7655, allocations: 0 / 390.1 MB, free: 11.42 MB / 314.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001058/0.7666, allocations: 215.7 kB / 390.3 MB, free: 11.36 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.235e-05/0.7666, allocations: 5.75 kB / 390.3 MB, free: 11.36 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.7667, allocations: 1.219 kB / 390.3 MB, free: 11.36 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003582/0.767, allocations: 32 kB / 390.4 MB, free: 11.36 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004179/0.7675, allocations: 43.83 kB / 390.4 MB, free: 11.35 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001926/0.7694, allocations: 1.369 MB / 391.8 MB, free: 10.07 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005506/0.77, allocations: 40.95 kB / 391.8 MB, free: 10.06 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.57e-05/0.7701, allocations: 3.844 kB / 391.8 MB, free: 10.06 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.onOffController.y,onOffController.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002561/0.7704, allocations: 133.7 kB / 392 MB, free: 9.945 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.438e-05/0.7705, allocations: 15.56 kB / 392 MB, free: 9.938 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.582e-05/0.7706, allocations: 23.47 kB / 392 MB, free: 9.93 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.418e-06/0.7706, allocations: 7.734 kB / 392 MB, free: 9.926 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/0.7706, allocations: 4 kB / 392 MB, free: 9.922 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.798e-06/0.7707, allocations: 1.359 kB / 392 MB, free: 9.922 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0016/0.7723, allocations: 0.5307 MB / 392.5 MB, free: 9.602 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/0.7724, allocations: 1.922 kB / 392.5 MB, free: 9.602 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004137/0.7728, allocations: 30.69 kB / 392.6 MB, free: 9.598 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002709/0.7731, allocations: 29.7 kB / 392.6 MB, free: 9.59 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.051e-05/0.7731, allocations: 7.75 kB / 392.6 MB, free: 9.586 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00177/0.7749, allocations: 1.373 MB / 394 MB, free: 8.312 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.461e-06/0.775, allocations: 3.938 kB / 394 MB, free: 8.312 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001412/0.7764, allocations: 371.2 kB / 394.3 MB, free: 8.152 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000186/0.7766, allocations: 102.4 kB / 394.4 MB, free: 8.051 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.895e-05/0.7767, allocations: 3.5 kB / 394.4 MB, free: 8.051 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000523/0.7773, allocations: 32.41 kB / 394.5 MB, free: 8.047 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001366/0.7774, allocations: 14.61 kB / 394.5 MB, free: 8.047 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.704e-05/0.7775, allocations: 11.64 kB / 394.5 MB, free: 8.043 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001927/0.7777, allocations: 131.2 kB / 394.6 MB, free: 7.965 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.425e-06/0.7777, allocations: 0 / 394.6 MB, free: 7.965 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007262/0.7784, allocations: 62.38 kB / 394.7 MB, free: 7.953 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (heatCapacitor.T) * Number of discrete variables: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001782/0.7803, allocations: 0.9 MB / 395.6 MB, free: 7.27 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001148/0.7815, allocations: 274.1 kB / 395.9 MB, free: 7.145 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.652e-06/0.7815, allocations: 3.938 kB / 395.9 MB, free: 7.141 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005624/0.7821, allocations: 188.1 kB / 396 MB, free: 7.031 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006413/0.7827, allocations: 40 kB / 396.1 MB, free: 7.02 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004164/0.7869, allocations: 1.707 MB / 397.8 MB, free: 5.926 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002896/0.7873, allocations: 0.743 MB / 398.5 MB, free: 5.223 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002065/0.7875, allocations: 56.27 kB / 398.6 MB, free: 5.215 MB / 314.7 MB Notification: Performance of SimCode: time 1.363e-06/0.7875, allocations: 0 / 398.6 MB, free: 5.215 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.148/3.935, allocations: 4.002 MB / 402.6 MB, free: 4.965 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat does not exist to compare? outputFormat=mat