Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_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_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.037/2.037, allocations: 194.9 MB / 211.1 MB, free: 8.57 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005365/0.0005365, allocations: 8 kB / 264.1 MB, free: 3.488 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3449/0.3455, allocations: 44.51 MB / 308.6 MB, free: 12.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1725/0.5181, allocations: 74 MB / 382.6 MB, free: 2.562 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000459/0.5186, allocations: 75.95 kB / 382.6 MB, free: 2.488 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01862/0.5373, allocations: 3.846 MB / 386.5 MB, free: 14.62 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.5373, allocations: 0 / 386.5 MB, free: 14.62 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.981e-05/0.5374, allocations: 8 kB / 386.5 MB, free: 14.62 MB / 330.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.001167/0.5385, allocations: 0.5106 MB / 387 MB, free: 14.06 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.5386, allocations: 8.031 kB / 387 MB, free: 14.05 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001202/0.5387, allocations: 54.98 kB / 387.1 MB, free: 13.99 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001404/0.5389, allocations: 27.72 kB / 387.1 MB, free: 13.96 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003469/0.5392, allocations: 234.5 kB / 387.3 MB, free: 13.69 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.442e-05/0.5393, allocations: 12.44 kB / 387.3 MB, free: 13.68 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.952e-05/0.5394, allocations: 27.94 kB / 387.4 MB, free: 13.65 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006891/0.5401, allocations: 229.8 kB / 387.6 MB, free: 13.41 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/0.5401, allocations: 0 / 387.6 MB, free: 13.41 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.304e-05/0.5401, allocations: 8 kB / 387.6 MB, free: 13.41 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.5402, allocations: 8 kB / 387.6 MB, free: 13.4 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006616/0.5408, allocations: 169.6 kB / 387.8 MB, free: 13.23 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001934/0.5428, allocations: 0.8322 MB / 388.6 MB, free: 12.33 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006052/0.5434, allocations: 162.5 kB / 388.8 MB, free: 12.16 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.473e-05/0.5434, allocations: 0 / 388.8 MB, free: 12.16 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/0.5435, allocations: 42.56 kB / 388.8 MB, free: 12.11 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 1.894e-06/0.5435, allocations: 0 / 388.8 MB, free: 12.11 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.001402/0.5449, allocations: 347.5 kB / 389.1 MB, free: 11.74 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.803e-05/0.545, allocations: 55.41 kB / 389.2 MB, free: 11.68 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002187/0.5452, allocations: 157.8 kB / 389.3 MB, free: 11.51 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.158e-05/0.5453, allocations: 29.7 kB / 389.4 MB, free: 11.48 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000126/0.5454, allocations: 148.1 kB / 389.5 MB, free: 11.33 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.481e-05/0.5455, allocations: 59.19 kB / 389.6 MB, free: 11.27 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.516e-05/0.5455, allocations: 8 kB / 389.6 MB, free: 11.26 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.5457, allocations: 330.7 kB / 389.9 MB, free: 10.93 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002544/0.546, allocations: 56.34 kB / 390 MB, free: 10.88 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002844/0.5463, allocations: 88.14 kB / 390 MB, free: 10.78 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002616/0.5465, allocations: 62.73 kB / 390.1 MB, free: 10.72 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.5466, allocations: 3.938 kB / 390.1 MB, free: 10.71 MB / 330.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007718/0.5473, allocations: 218.1 kB / 390.3 MB, free: 10.49 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.953e-05/0.5474, allocations: 11.98 kB / 390.3 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.5474, allocations: 3.938 kB / 390.3 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002728/0.5477, allocations: 36.94 kB / 390.4 MB, free: 10.44 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002671/0.548, allocations: 31.94 kB / 390.4 MB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001668/0.5496, allocations: 1.375 MB / 391.8 MB, free: 8.895 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003344/0.55, allocations: 39.84 kB / 391.8 MB, free: 8.855 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.83e-05/0.55, allocations: 4 kB / 391.8 MB, free: 8.852 MB / 330.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.0001955/0.5502, allocations: 138.9 kB / 392 MB, free: 8.707 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.712e-05/0.5503, allocations: 15.81 kB / 392 MB, free: 8.691 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.194e-05/0.5504, allocations: 17.88 kB / 392 MB, free: 8.672 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/0.5504, allocations: 7.953 kB / 392 MB, free: 8.664 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.5504, allocations: 3.984 kB / 392 MB, free: 8.66 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.5504, allocations: 0 / 392 MB, free: 8.66 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001195/0.5516, allocations: 0.5294 MB / 392.5 MB, free: 8.074 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.5517, allocations: 0 / 392.5 MB, free: 8.074 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000293/0.552, allocations: 31.97 kB / 392.6 MB, free: 8.043 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002011/0.5522, allocations: 32.84 kB / 392.6 MB, free: 8.008 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.773e-05/0.5522, allocations: 0 / 392.6 MB, free: 8.008 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001637/0.5539, allocations: 1.374 MB / 394 MB, free: 6.5 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.693e-06/0.5539, allocations: 4.031 kB / 394 MB, free: 6.496 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001118/0.555, allocations: 368 kB / 394.3 MB, free: 6.117 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001482/0.5552, allocations: 109 kB / 394.4 MB, free: 5.992 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.871e-05/0.5553, allocations: 4 kB / 394.4 MB, free: 5.988 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003515/0.5556, allocations: 19.98 kB / 394.5 MB, free: 5.969 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.409e-05/0.5557, allocations: 19.97 kB / 394.5 MB, free: 5.949 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.257e-05/0.5558, allocations: 11.95 kB / 394.5 MB, free: 5.938 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001621/0.556, allocations: 139.2 kB / 394.6 MB, free: 5.801 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.556, allocations: 0 / 394.6 MB, free: 5.801 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004575/0.5564, allocations: 55.84 kB / 394.7 MB, free: 5.746 MB / 330.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.001488/0.5579, allocations: 0.9069 MB / 395.6 MB, free: 4.812 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008656/0.5588, allocations: 271.8 kB / 395.9 MB, free: 4.535 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.5589, allocations: 0 / 395.9 MB, free: 4.535 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000446/0.5593, allocations: 198.8 kB / 396.1 MB, free: 4.328 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004095/0.5597, allocations: 32.06 kB / 396.1 MB, free: 4.297 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003232/0.563, allocations: 1.675 MB / 397.8 MB, free: 2.562 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004126/0.5634, allocations: 0.7401 MB / 398.5 MB, free: 1.793 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001419/0.5636, allocations: 13.55 kB / 398.5 MB, free: 1.781 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001304/0.5637, allocations: 51.42 kB / 398.6 MB, free: 1.73 MB / 330.7 MB Notification: Performance of SimCode: time 1.102e-06/0.5638, allocations: 4 kB / 398.6 MB, free: 1.727 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02791/0.5917, allocations: 3.971 MB / 402.5 MB, free: 13.79 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002927/0.5921, allocations: 220.6 kB / 402.8 MB, free: 13.54 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.658/3.25, allocations: 3.938 kB / 402.8 MB, free: 13.54 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat does not exist to compare? outputFormat=mat