Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.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.HeatTransfer.Examples.ControlledTemperature,fileNamePrefix="Modelica_3_2_1_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.645/1.645, allocations: 171.1 MB / 186.1 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003695/0.0003695, allocations: 16 kB / 233.4 MB, free: 2.27 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08644/0.08685, allocations: 38.76 MB / 272.1 MB, free: 11.43 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3963/0.4832, allocations: 68.74 MB / 340.9 MB, free: 4.16 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003003/0.4836, allocations: 75.2 kB / 340.9 MB, free: 4.121 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01709/0.5007, allocations: 3.838 MB / 344.8 MB, free: 0.8125 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.5007, allocations: 2.516 kB / 344.8 MB, free: 0.8125 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.212e-05/0.5008, allocations: 7.875 kB / 344.8 MB, free: 0.8086 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001172/0.502, allocations: 0.5118 MB / 345.3 MB, free: 268 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/0.502, allocations: 8.031 kB / 345.3 MB, free: 260 kB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001197/0.5022, allocations: 62.83 kB / 345.4 MB, free: 200 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001395/0.5023, allocations: 31.7 kB / 345.4 MB, free: 168 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003316/0.5026, allocations: 215.5 kB / 345.6 MB, free: 15.93 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.877e-05/0.5027, allocations: 21.77 kB / 345.6 MB, free: 15.91 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.365e-05/0.5028, allocations: 18.75 kB / 345.6 MB, free: 15.9 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006508/0.5034, allocations: 232.6 kB / 345.9 MB, free: 15.72 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.5035, allocations: 4 kB / 345.9 MB, free: 15.72 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.14e-05/0.5035, allocations: 6.938 kB / 345.9 MB, free: 15.72 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.5035, allocations: 4 kB / 345.9 MB, free: 15.71 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006302/0.5042, allocations: 177 kB / 346.1 MB, free: 15.58 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001867/0.506, allocations: 0.824 MB / 346.9 MB, free: 14.81 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006009/0.5067, allocations: 172.8 kB / 347.1 MB, free: 14.68 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/0.5067, allocations: 0 / 347.1 MB, free: 14.68 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.214e-05/0.5068, allocations: 37.94 kB / 347.1 MB, free: 14.64 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 1.783e-06/0.5068, allocations: 0 / 347.1 MB, free: 14.64 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.001351/0.5081, allocations: 351.7 kB / 347.4 MB, free: 14.31 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/0.5082, allocations: 55.41 kB / 347.5 MB, free: 14.25 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002108/0.5084, allocations: 162.4 kB / 347.6 MB, free: 14.1 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.115e-05/0.5085, allocations: 25.7 kB / 347.7 MB, free: 14.07 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/0.5086, allocations: 150.4 kB / 347.8 MB, free: 13.93 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.286e-05/0.5087, allocations: 51.83 kB / 347.9 MB, free: 13.89 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.353e-05/0.5087, allocations: 4 kB / 347.9 MB, free: 13.89 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.5089, allocations: 329.9 kB / 348.2 MB, free: 13.56 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002741/0.5091, allocations: 61.34 kB / 348.3 MB, free: 13.52 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002634/0.5094, allocations: 81.66 kB / 348.3 MB, free: 13.45 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002523/0.5097, allocations: 67.56 kB / 348.4 MB, free: 13.4 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.5097, allocations: 0 / 348.4 MB, free: 13.4 MB / 282.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007772/0.5105, allocations: 220.5 kB / 348.6 MB, free: 13.21 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/0.5105, allocations: 9.719 kB / 348.6 MB, free: 13.21 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.5105, allocations: 0 / 348.6 MB, free: 13.21 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002822/0.5108, allocations: 39.75 kB / 348.7 MB, free: 13.17 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002698/0.5111, allocations: 35.86 kB / 348.7 MB, free: 13.14 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001662/0.5128, allocations: 1.374 MB / 350.1 MB, free: 11.71 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003882/0.5132, allocations: 39.36 kB / 350.1 MB, free: 11.67 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.156e-05/0.5133, allocations: 11.02 kB / 350.1 MB, free: 11.66 MB / 282.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.0002041/0.5135, allocations: 130.5 kB / 350.2 MB, free: 11.54 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.022e-05/0.5136, allocations: 15.81 kB / 350.3 MB, free: 11.52 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.204e-05/0.5136, allocations: 20.06 kB / 350.3 MB, free: 11.51 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.5136, allocations: 4 kB / 350.3 MB, free: 11.51 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.5137, allocations: 4 kB / 350.3 MB, free: 11.5 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.5137, allocations: 0 / 350.3 MB, free: 11.5 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00117/0.5149, allocations: 0.5205 MB / 350.8 MB, free: 11 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.5149, allocations: 0 / 350.8 MB, free: 11 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002875/0.5152, allocations: 39.23 kB / 350.9 MB, free: 10.96 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002025/0.5154, allocations: 35.28 kB / 350.9 MB, free: 10.93 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.266e-05/0.5154, allocations: 4 kB / 350.9 MB, free: 10.93 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001582/0.517, allocations: 1.375 MB / 352.3 MB, free: 9.508 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.5171, allocations: 0 / 352.3 MB, free: 9.508 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001051/0.5181, allocations: 377 kB / 352.6 MB, free: 9.188 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001319/0.5183, allocations: 96.25 kB / 352.7 MB, free: 9.078 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.285e-05/0.5183, allocations: 11 kB / 352.7 MB, free: 9.07 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003586/0.5187, allocations: 31.72 kB / 352.8 MB, free: 9.043 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.499e-05/0.5188, allocations: 15.97 kB / 352.8 MB, free: 9.027 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-05/0.5189, allocations: 7.625 kB / 352.8 MB, free: 9.023 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001556/0.519, allocations: 131 kB / 352.9 MB, free: 8.91 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.519, allocations: 0 / 352.9 MB, free: 8.91 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004569/0.5195, allocations: 58.89 kB / 353 MB, free: 8.855 MB / 282.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.001421/0.5209, allocations: 0.9051 MB / 353.9 MB, free: 7.988 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008204/0.5218, allocations: 265.9 kB / 354.1 MB, free: 7.754 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.5218, allocations: 0 / 354.1 MB, free: 7.754 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004329/0.5223, allocations: 206 kB / 354.3 MB, free: 7.562 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004141/0.5227, allocations: 31.55 kB / 354.4 MB, free: 7.539 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00311/0.5258, allocations: 1.686 MB / 356.1 MB, free: 5.934 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003764/0.5263, allocations: 0.7362 MB / 356.8 MB, free: 5.172 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001518/0.5264, allocations: 17.55 kB / 356.8 MB, free: 5.152 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001287/0.5266, allocations: 57.17 kB / 356.9 MB, free: 5.133 MB / 282.7 MB Notification: Performance of SimCode: time 1.192e-06/0.5266, allocations: 0 / 356.9 MB, free: 5.133 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02998/0.5566, allocations: 3.96 MB / 360.8 MB, free: 1.246 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003761/0.557, allocations: 204.8 kB / 361 MB, free: 1.012 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.848/3.405, allocations: 0 / 361 MB, free: 1.012 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat does not exist to compare? outputFormat=mat