Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: translateModel(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") Notification: Performance of loadModel(Modelica): time 0.9445/0.9445, allocations: 111.2 MB / 124.2 MB, free: 11.14 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.634e-05/2.645e-05, allocations: 4 kB / 154.3 MB, free: 13.13 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1458, allocations: 25.15 MB / 179.4 MB, free: 0.7812 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05624/0.2021, allocations: 36.52 MB / 215.9 MB, free: 12.57 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000206/0.2023, allocations: 59.97 kB / 216 MB, free: 12.52 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01574/0.2181, allocations: 3.906 MB / 219.9 MB, free: 8.594 MB / 186.7 MB Notification: Performance of FrontEnd: time 2.206e-06/0.2181, allocations: 0 / 219.9 MB, free: 8.594 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.746e-05/0.2181, allocations: 4 kB / 219.9 MB, free: 8.59 MB / 186.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.0008765/0.219, allocations: 0.4944 MB / 220.4 MB, free: 8.051 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.2191, allocations: 12.03 kB / 220.4 MB, free: 8.039 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.27e-05/0.2192, allocations: 23.72 kB / 220.4 MB, free: 8.016 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003252/0.2195, allocations: 223.2 kB / 220.7 MB, free: 7.758 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.322e-05/0.2195, allocations: 20.44 kB / 220.7 MB, free: 7.738 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.203e-05/0.2196, allocations: 20 kB / 220.7 MB, free: 7.719 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004699/0.2201, allocations: 205.9 kB / 220.9 MB, free: 7.504 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.2201, allocations: 0 / 220.9 MB, free: 7.504 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.116e-05/0.2202, allocations: 7.953 kB / 220.9 MB, free: 7.496 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/0.2202, allocations: 12 kB / 220.9 MB, free: 7.484 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003576/0.2206, allocations: 129.7 kB / 221 MB, free: 7.355 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001665/0.2222, allocations: 0.8086 MB / 221.9 MB, free: 6.48 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004193/0.2227, allocations: 150.7 kB / 222 MB, free: 6.324 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001633/0.2229, allocations: 68.84 kB / 222.1 MB, free: 6.254 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001273/0.223, allocations: 81.11 kB / 222.1 MB, free: 6.156 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.2231, allocations: 30.56 kB / 222.2 MB, free: 6.117 MB / 186.7 MB Notification: Performance of pre-optimization done (n=16): time 3.177e-06/0.2231, allocations: 0 / 222.2 MB, free: 6.117 MB / 186.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005156/0.2236, allocations: 167.2 kB / 222.3 MB, free: 5.945 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/0.2237, allocations: 55.39 kB / 222.4 MB, free: 5.879 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002134/0.2239, allocations: 157.8 kB / 222.5 MB, free: 5.715 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 3.623e-05/0.2239, allocations: 33.7 kB / 222.6 MB, free: 5.676 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001439/0.2241, allocations: 198.6 kB / 222.8 MB, free: 5.48 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.584e-05/0.2242, allocations: 55.2 kB / 222.8 MB, free: 5.426 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.323e-05/0.2242, allocations: 4 kB / 222.8 MB, free: 5.422 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.2244, allocations: 322.8 kB / 223.1 MB, free: 5.098 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001173/0.2245, allocations: 36.38 kB / 223.2 MB, free: 5.062 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000149/0.2247, allocations: 72.19 kB / 223.3 MB, free: 4.98 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001256/0.2248, allocations: 45.02 kB / 223.3 MB, free: 4.938 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.628e-06/0.2248, allocations: 0 / 223.3 MB, free: 4.938 MB / 186.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004721/0.2253, allocations: 183.3 kB / 223.5 MB, free: 4.75 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.2253, allocations: 7.938 kB / 223.5 MB, free: 4.742 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.793e-06/0.2254, allocations: 4 kB / 223.5 MB, free: 4.738 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002145/0.2256, allocations: 40.77 kB / 223.5 MB, free: 4.695 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002123/0.2258, allocations: 27.98 kB / 223.6 MB, free: 4.668 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001573/0.2274, allocations: 1.359 MB / 224.9 MB, free: 3.172 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002773/0.2277, allocations: 47.78 kB / 225 MB, free: 3.125 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.043e-05/0.2277, allocations: 4 kB / 225 MB, free: 3.121 MB / 186.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.0001268/0.2279, allocations: 120.9 kB / 225.1 MB, free: 2.996 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.422e-05/0.2279, allocations: 15.86 kB / 225.1 MB, free: 2.98 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004701/0.2284, allocations: 177.9 kB / 225.3 MB, free: 2.797 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.964e-06/0.2285, allocations: 4 kB / 225.3 MB, free: 2.793 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.759e-06/0.2285, allocations: 4 kB / 225.3 MB, free: 2.789 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.532e-06/0.2285, allocations: 0 / 225.3 MB, free: 2.789 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000864/0.2294, allocations: 0.4913 MB / 225.8 MB, free: 2.238 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.788e-06/0.2294, allocations: 0 / 225.8 MB, free: 2.238 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002074/0.2296, allocations: 27.98 kB / 225.8 MB, free: 2.211 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001574/0.2298, allocations: 32.83 kB / 225.8 MB, free: 2.176 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.025e-05/0.2298, allocations: 7.953 kB / 225.8 MB, free: 2.168 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001476/0.2313, allocations: 1.359 MB / 227.2 MB, free: 0.6719 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.421e-06/0.2313, allocations: 0 / 227.2 MB, free: 0.6719 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006081/0.2319, allocations: 321.1 kB / 227.5 MB, free: 348 kB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001318/0.2321, allocations: 104.9 kB / 227.6 MB, free: 224 kB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.208e-05/0.2321, allocations: 0 / 227.6 MB, free: 224 kB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002807/0.2324, allocations: 36.03 kB / 227.6 MB, free: 188 kB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.105e-05/0.2325, allocations: 15.97 kB / 227.7 MB, free: 172 kB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.032e-05/0.2326, allocations: 8 kB / 227.7 MB, free: 164 kB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001439/0.2327, allocations: 128.3 kB / 227.8 MB, free: 36 kB / 186.7 MB Notification: Performance of sort global known variables: time 7.88e-07/0.2327, allocations: 0 / 227.8 MB, free: 36 kB / 186.7 MB Notification: Performance of remove unused functions: time 0.0004789/0.2332, allocations: 63.89 kB / 227.9 MB, free: 15.97 MB / 202.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.0001889/0.2334, allocations: 119.1 kB / 228 MB, free: 15.85 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.0004985/0.2339, allocations: 231.9 kB / 228.2 MB, free: 15.61 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.234, allocations: 0 / 228.2 MB, free: 15.61 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003007/0.2343, allocations: 180.1 kB / 228.4 MB, free: 15.42 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005263/0.2348, allocations: 68.83 kB / 228.4 MB, free: 15.36 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007775/0.2356, allocations: 318.1 kB / 228.8 MB, free: 15.02 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004533/0.2361, allocations: 0.7402 MB / 229.5 MB, free: 14.25 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.431e-05/0.2362, allocations: 15.44 kB / 229.5 MB, free: 14.23 MB / 202.7 MB Notification: Performance of SimCode: time 1.66e-06/0.2362, allocations: 4 kB / 229.5 MB, free: 14.23 MB / 202.7 MB Notification: Performance of Templates: time 0.006732/0.2429, allocations: 3.187 MB / 232.7 MB, free: 11.05 MB / 202.7 MB