Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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.1_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") Notification: Performance of loadModel(Modelica): time 1.781/1.781, allocations: 171.2 MB / 184.2 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.817e-05/2.834e-05, allocations: 4 kB / 228.8 MB, free: 15.33 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2082/0.2082, allocations: 38.77 MB / 267.6 MB, free: 9.445 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1056/0.3139, allocations: 68.66 MB / 336.2 MB, free: 4.688 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002399/0.3141, allocations: 63.97 kB / 336.3 MB, free: 4.625 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01579/0.33, allocations: 3.845 MB / 340.1 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.33, allocations: 0 / 340.1 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.924e-05/0.33, allocations: 4 kB / 340.1 MB, free: 0.7539 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0008998/0.3309, allocations: 498.3 kB / 340.6 MB, free: 228 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.331, allocations: 12.03 kB / 340.6 MB, free: 216 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001379/0.3312, allocations: 23.72 kB / 340.7 MB, free: 192 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003516/0.3315, allocations: 218.7 kB / 340.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.963e-05/0.3316, allocations: 16.44 kB / 340.9 MB, free: 15.92 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.686e-05/0.3316, allocations: 23.95 kB / 340.9 MB, free: 15.89 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004738/0.3321, allocations: 209.8 kB / 341.1 MB, free: 15.68 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/0.3322, allocations: 4 kB / 341.1 MB, free: 15.67 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.265e-05/0.3322, allocations: 8 kB / 341.1 MB, free: 15.66 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.449e-06/0.3322, allocations: 4 kB / 341.1 MB, free: 15.66 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000357/0.3326, allocations: 125.7 kB / 341.3 MB, free: 15.54 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00172/0.3343, allocations: 0.8241 MB / 342.1 MB, free: 14.65 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004148/0.3348, allocations: 142.7 kB / 342.2 MB, free: 14.5 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001699/0.335, allocations: 68.8 kB / 342.3 MB, free: 14.43 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.906e-05/0.335, allocations: 4 kB / 342.3 MB, free: 14.43 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.348e-05/0.335, allocations: 38.55 kB / 342.3 MB, free: 14.38 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 3.358e-06/0.3351, allocations: 3.938 kB / 342.3 MB, free: 14.38 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005258/0.3356, allocations: 161.4 kB / 342.5 MB, free: 14.21 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/0.3357, allocations: 55.41 kB / 342.6 MB, free: 14.14 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00021/0.3359, allocations: 157.8 kB / 342.7 MB, free: 13.98 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.32e-05/0.3359, allocations: 25.7 kB / 342.7 MB, free: 13.95 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001497/0.3361, allocations: 214.6 kB / 342.9 MB, free: 13.74 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.887e-05/0.3362, allocations: 59.19 kB / 343 MB, free: 13.68 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.017e-05/0.3362, allocations: 0 / 343 MB, free: 13.68 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.3364, allocations: 314.8 kB / 343.3 MB, free: 13.36 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001166/0.3365, allocations: 40.38 kB / 343.3 MB, free: 13.32 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001496/0.3367, allocations: 80.23 kB / 343.4 MB, free: 13.24 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001279/0.3368, allocations: 45.08 kB / 343.5 MB, free: 13.2 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.3368, allocations: 0 / 343.5 MB, free: 13.2 MB / 298.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004889/0.3373, allocations: 184.5 kB / 343.6 MB, free: 13.01 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.3374, allocations: 4 kB / 343.7 MB, free: 13 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.6e-06/0.3374, allocations: 0 / 343.7 MB, free: 13 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002264/0.3376, allocations: 32.84 kB / 343.7 MB, free: 12.97 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002281/0.3379, allocations: 44 kB / 343.7 MB, free: 12.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001616/0.3395, allocations: 1.351 MB / 345.1 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002631/0.3398, allocations: 43.91 kB / 345.1 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.801e-05/0.3398, allocations: 4 kB / 345.1 MB, free: 11.39 MB / 298.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 () * 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.0001289/0.34, allocations: 116.9 kB / 345.2 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.399e-05/0.34, allocations: 15.81 kB / 345.3 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.344e-05/0.3401, allocations: 29.64 kB / 345.3 MB, free: 11.22 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.185e-06/0.3401, allocations: 0 / 345.3 MB, free: 11.22 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.178e-06/0.3401, allocations: 0 / 345.3 MB, free: 11.22 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.3402, allocations: 4 kB / 345.3 MB, free: 11.22 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009185/0.3411, allocations: 0.4951 MB / 345.8 MB, free: 10.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.677e-06/0.3411, allocations: 0 / 345.8 MB, free: 10.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000221/0.3413, allocations: 27.92 kB / 345.8 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001749/0.3415, allocations: 36.84 kB / 345.8 MB, free: 10.6 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.083e-05/0.3416, allocations: 3.984 kB / 345.8 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001507/0.3431, allocations: 1.359 MB / 347.2 MB, free: 9.105 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.209e-06/0.3431, allocations: 0 / 347.2 MB, free: 9.105 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000658/0.3438, allocations: 320 kB / 347.5 MB, free: 8.773 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001498/0.344, allocations: 97.02 kB / 347.6 MB, free: 8.66 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.777e-05/0.344, allocations: 4 kB / 347.6 MB, free: 8.656 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002942/0.3443, allocations: 28.11 kB / 347.6 MB, free: 8.629 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.061e-05/0.3444, allocations: 19.97 kB / 347.7 MB, free: 8.609 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.931e-05/0.3445, allocations: 4 kB / 347.7 MB, free: 8.605 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001608/0.3446, allocations: 132.3 kB / 347.8 MB, free: 8.477 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.267e-06/0.3446, allocations: 0 / 347.8 MB, free: 8.477 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004682/0.3451, allocations: 63.78 kB / 347.9 MB, free: 8.414 MB / 298.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) * 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.0001775/0.3453, allocations: 103.2 kB / 348 MB, free: 8.301 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000536/0.3459, allocations: 238.3 kB / 348.2 MB, free: 8.055 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.167e-06/0.3459, allocations: 0 / 348.2 MB, free: 8.055 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002993/0.3462, allocations: 181 kB / 348.4 MB, free: 7.867 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003607/0.3466, allocations: 40.25 kB / 348.4 MB, free: 7.828 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008004/0.3474, allocations: 317.2 kB / 348.7 MB, free: 7.488 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004336/0.3478, allocations: 0.7402 MB / 349.5 MB, free: 6.719 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.782e-05/0.3479, allocations: 15.44 kB / 349.5 MB, free: 6.703 MB / 298.7 MB Notification: Performance of SimCode: time 1.953e-06/0.3479, allocations: 0 / 349.5 MB, free: 6.703 MB / 298.7 MB Notification: Performance of Templates: time 0.006499/0.3544, allocations: 3.039 MB / 352.5 MB, free: 3.668 MB / 298.7 MB