Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|heatCapacitor.T|onOffController.y",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") Notification: Performance of loadModel(Modelica): time 1.863/1.863, allocations: 194.9 MB / 211.7 MB, free: 2.98 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003608/0.0003609, allocations: 12 kB / 263.9 MB, free: 13.57 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08021/0.0806, allocations: 44.5 MB / 308.4 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3971/0.4778, allocations: 73.99 MB / 382.4 MB, free: 18.85 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002188/0.4781, allocations: 71.27 kB / 382.5 MB, free: 18.85 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01392/0.492, allocations: 3.839 MB / 386.3 MB, free: 18.27 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.209e-06/0.492, allocations: 0 / 386.3 MB, free: 18.27 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.594e-05/0.4921, allocations: 4.969 kB / 386.3 MB, free: 18.27 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.0007588/0.4928, allocations: 0.5132 MB / 386.9 MB, free: 17.86 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.4929, allocations: 8.25 kB / 386.9 MB, free: 17.86 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001331/0.493, allocations: 25.72 kB / 386.9 MB, free: 17.85 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002385/0.4933, allocations: 232.7 kB / 387.1 MB, free: 17.62 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.379e-05/0.4933, allocations: 16.31 kB / 387.1 MB, free: 17.62 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.121e-05/0.4934, allocations: 25.58 kB / 387.2 MB, free: 17.61 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005318/0.4939, allocations: 226.9 kB / 387.4 MB, free: 17.56 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.494, allocations: 0 / 387.4 MB, free: 17.56 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.965e-05/0.494, allocations: 9.844 kB / 387.4 MB, free: 17.56 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.375e-05/0.494, allocations: 9.812 kB / 387.4 MB, free: 17.55 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005412/0.4946, allocations: 168 kB / 387.6 MB, free: 17.55 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001421/0.496, allocations: 0.8224 MB / 388.4 MB, free: 17.07 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004565/0.4965, allocations: 171.5 kB / 388.6 MB, free: 17.04 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/0.4966, allocations: 7.062 kB / 388.6 MB, free: 17.04 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/0.4966, allocations: 32 kB / 388.6 MB, free: 17 MB / 314.7 MB Notification: Performance of pre-optimization done (n=16): time 2.689e-06/0.4966, allocations: 0 / 388.6 MB, free: 17 MB / 314.7 MB Notification: Performance of matching and sorting (n=16): time 0.001036/0.4976, allocations: 353 kB / 388.9 MB, free: 16.84 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.235e-05/0.4977, allocations: 52.84 kB / 389 MB, free: 16.78 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001724/0.4979, allocations: 158.9 kB / 389.1 MB, free: 16.68 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.258e-05/0.4979, allocations: 35.45 kB / 389.2 MB, free: 16.65 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.288e-05/0.498, allocations: 202.2 kB / 389.4 MB, free: 16.48 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.643e-05/0.4981, allocations: 51.91 kB / 389.4 MB, free: 16.45 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.047e-05/0.4981, allocations: 5.469 kB / 389.4 MB, free: 16.44 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.668e-05/0.4982, allocations: 323.1 kB / 389.8 MB, free: 16.12 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001937/0.4984, allocations: 55.48 kB / 389.8 MB, free: 16.12 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002003/0.4986, allocations: 95.69 kB / 389.9 MB, free: 16.09 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001925/0.4988, allocations: 64.14 kB / 390 MB, free: 16.08 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.4988, allocations: 4 kB / 390 MB, free: 16.08 MB / 314.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005999/0.4994, allocations: 213.9 kB / 390.2 MB, free: 16.02 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.4995, allocations: 7.75 kB / 390.2 MB, free: 16.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.293e-06/0.4995, allocations: 4.094 kB / 390.2 MB, free: 16.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000206/0.4997, allocations: 30.55 kB / 390.2 MB, free: 16.01 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001844/0.4999, allocations: 38.17 kB / 390.3 MB, free: 16.01 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001122/0.501, allocations: 1.375 MB / 391.6 MB, free: 14.73 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002688/0.5013, allocations: 37.39 kB / 391.7 MB, free: 14.72 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.635e-05/0.5014, allocations: 3.875 kB / 391.7 MB, free: 14.72 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.0001449/0.5015, allocations: 131.6 kB / 391.8 MB, free: 14.6 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.727e-05/0.5016, allocations: 15.66 kB / 391.8 MB, free: 14.59 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.05e-05/0.5016, allocations: 26.05 kB / 391.8 MB, free: 14.59 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.424e-06/0.5017, allocations: 3.875 kB / 391.8 MB, free: 14.59 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.827e-06/0.5017, allocations: 7.938 kB / 391.8 MB, free: 14.58 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.127e-06/0.5017, allocations: 1.781 kB / 391.8 MB, free: 14.58 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008899/0.5026, allocations: 0.5211 MB / 392.4 MB, free: 14.26 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.543e-06/0.5026, allocations: 4 kB / 392.4 MB, free: 14.26 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001864/0.5028, allocations: 37.3 kB / 392.4 MB, free: 14.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00015/0.503, allocations: 26.06 kB / 392.4 MB, free: 14.25 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.761e-05/0.503, allocations: 11.91 kB / 392.4 MB, free: 14.24 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001012/0.504, allocations: 1.368 MB / 393.8 MB, free: 12.97 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.548e-06/0.5041, allocations: 4.062 kB / 393.8 MB, free: 12.97 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007118/0.5048, allocations: 366.5 kB / 394.2 MB, free: 12.81 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.124e-05/0.5049, allocations: 102.3 kB / 394.3 MB, free: 12.71 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.24e-05/0.5049, allocations: 3.438 kB / 394.3 MB, free: 12.71 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002688/0.5052, allocations: 29.16 kB / 394.3 MB, free: 12.71 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.658e-05/0.5053, allocations: 20.22 kB / 394.3 MB, free: 12.7 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.741e-05/0.5053, allocations: 7.25 kB / 394.3 MB, free: 12.7 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001052/0.5055, allocations: 130.4 kB / 394.5 MB, free: 12.62 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.05e-07/0.5055, allocations: 0 / 394.5 MB, free: 12.62 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004558/0.5059, allocations: 61.86 kB / 394.5 MB, free: 12.61 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.0001159/0.5061, allocations: 100.1 kB / 394.6 MB, free: 12.53 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006252/0.5067, allocations: 277.1 kB / 394.9 MB, free: 12.4 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.247e-06/0.5067, allocations: 0 / 394.9 MB, free: 12.4 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003333/0.5071, allocations: 210 kB / 395.1 MB, free: 12.28 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003303/0.5074, allocations: 28.86 kB / 395.1 MB, free: 12.27 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009134/0.5083, allocations: 0.5796 MB / 395.7 MB, free: 11.91 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001824/0.5085, allocations: 0.743 MB / 396.4 MB, free: 11.2 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.981e-05/0.5086, allocations: 21.47 kB / 396.5 MB, free: 11.2 MB / 314.7 MB Notification: Performance of SimCode: time 1.702e-06/0.5086, allocations: 0 / 396.5 MB, free: 11.2 MB / 314.7 MB Notification: Performance of Templates: time 0.005421/0.5141, allocations: 3.045 MB / 399.5 MB, free: 11.03 MB / 314.7 MB