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.9979/0.9979, allocations: 111.1 MB / 126.3 MB, free: 6.41 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.528e-05/2.528e-05, allocations: 2.656 kB / 154.5 MB, free: 2.844 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05486/0.05491, allocations: 25.18 MB / 179.7 MB, free: 9.625 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.003235/0.0582, allocations: 1.891 MB / 181.6 MB, free: 7.727 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.001132/0.05938, allocations: 475.4 kB / 182 MB, free: 7.262 MB / 154.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000119/0.05952, allocations: 4 kB / 182 MB, free: 7.258 MB / 154.7 MB Notification: Performance of NFTyping.typeComponents: time 7.254e-05/0.05961, allocations: 27.83 kB / 182.1 MB, free: 7.23 MB / 154.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Thermal/HeatTransfer.mo:67:7-68:32:writable] Warning: Conditional component heatPort is used in a non-connect context. Notification: Performance of NFTyping.typeBindings: time 0.0003129/0.05993, allocations: 83.72 kB / 182.1 MB, free: 7.148 MB / 154.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001648/0.06012, allocations: 51.94 kB / 182.2 MB, free: 7.098 MB / 154.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003016/0.06043, allocations: 147.6 kB / 182.3 MB, free: 6.953 MB / 154.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000171/0.06062, allocations: 57.28 kB / 182.4 MB, free: 6.898 MB / 154.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001298/0.06076, allocations: 71.84 kB / 182.5 MB, free: 6.828 MB / 154.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002335/0.061, allocations: 87.67 kB / 182.6 MB, free: 6.742 MB / 154.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.309e-05/0.06111, allocations: 15.98 kB / 182.6 MB, free: 6.727 MB / 154.7 MB Notification: Performance of NFPackage.collectConstants: time 3.848e-05/0.06116, allocations: 12 kB / 182.6 MB, free: 6.715 MB / 154.7 MB Notification: Performance of NFScalarize.scalarize: time 4.069e-05/0.06121, allocations: 27.86 kB / 182.6 MB, free: 6.688 MB / 154.7 MB Notification: Performance of NFVerifyModel.verify: time 7.486e-05/0.0613, allocations: 28 kB / 182.6 MB, free: 6.66 MB / 154.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003092/0.06162, allocations: 183.8 kB / 182.8 MB, free: 6.48 MB / 154.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.06164, allocations: 0 / 182.8 MB, free: 6.48 MB / 154.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.06165, allocations: 0 / 182.8 MB, free: 6.48 MB / 154.7 MB Notification: Performance of Transformations before backend: time 9.528e-06/0.06167, allocations: 0 / 182.8 MB, free: 6.48 MB / 154.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.001227/0.0629, allocations: 0.503 MB / 183.3 MB, free: 5.93 MB / 154.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.06296, allocations: 12.03 kB / 183.3 MB, free: 5.918 MB / 154.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.855e-05/0.06305, allocations: 31.7 kB / 183.4 MB, free: 5.887 MB / 154.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003428/0.0634, allocations: 223.1 kB / 183.6 MB, free: 5.629 MB / 154.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.07e-05/0.06345, allocations: 20.36 kB / 183.6 MB, free: 5.609 MB / 154.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.963e-05/0.06352, allocations: 20 kB / 183.6 MB, free: 5.59 MB / 154.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006614/0.06419, allocations: 221.9 kB / 183.8 MB, free: 5.363 MB / 154.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.197e-05/0.06423, allocations: 3.984 kB / 183.8 MB, free: 5.359 MB / 154.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.454e-05/0.06428, allocations: 15.95 kB / 183.9 MB, free: 5.344 MB / 154.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.06429, allocations: 4 kB / 183.9 MB, free: 5.34 MB / 154.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006427/0.06495, allocations: 165.6 kB / 184 MB, free: 5.176 MB / 154.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001893/0.06685, allocations: 0.8203 MB / 184.8 MB, free: 4.289 MB / 154.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006031/0.06748, allocations: 178.5 kB / 185 MB, free: 4.105 MB / 154.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001293/0.06762, allocations: 77.11 kB / 185.1 MB, free: 4.012 MB / 154.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.671e-05/0.06768, allocations: 38.56 kB / 185.1 MB, free: 3.965 MB / 154.7 MB Notification: Performance of pre-optimization done (n=16): time 2.094e-06/0.06769, allocations: 0 / 185.1 MB, free: 3.965 MB / 154.7 MB Notification: Performance of matching and sorting (n=16): time 0.001369/0.06907, allocations: 347.5 kB / 185.5 MB, free: 3.598 MB / 154.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.99e-05/0.06913, allocations: 63.39 kB / 185.5 MB, free: 3.523 MB / 154.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002093/0.06935, allocations: 161.7 kB / 185.7 MB, free: 3.355 MB / 154.7 MB Notification: Performance of collectPreVariables (initialization): time 3.266e-05/0.0694, allocations: 25.7 kB / 185.7 MB, free: 3.324 MB / 154.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001359/0.06955, allocations: 210.5 kB / 185.9 MB, free: 3.117 MB / 154.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.612e-05/0.06964, allocations: 59.2 kB / 186 MB, free: 3.059 MB / 154.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.16e-05/0.06966, allocations: 0 / 186 MB, free: 3.059 MB / 154.7 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.06981, allocations: 318.8 kB / 186.3 MB, free: 2.738 MB / 154.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002552/0.07008, allocations: 64.34 kB / 186.3 MB, free: 2.676 MB / 154.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002852/0.07038, allocations: 93 kB / 186.4 MB, free: 2.57 MB / 154.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002664/0.07066, allocations: 63.92 kB / 186.5 MB, free: 2.508 MB / 154.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.07068, allocations: 0 / 186.5 MB, free: 2.508 MB / 154.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007711/0.07146, allocations: 228 kB / 186.7 MB, free: 2.277 MB / 154.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.07149, allocations: 4 kB / 186.7 MB, free: 2.273 MB / 154.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.07151, allocations: 0 / 186.7 MB, free: 2.273 MB / 154.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002467/0.07176, allocations: 36.83 kB / 186.8 MB, free: 2.234 MB / 154.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002799/0.07206, allocations: 31.98 kB / 186.8 MB, free: 2.203 MB / 154.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001658/0.07374, allocations: 1.375 MB / 188.2 MB, free: 0.6953 MB / 154.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003485/0.07411, allocations: 43.86 kB / 188.2 MB, free: 0.6523 MB / 154.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.664e-05/0.07415, allocations: 16 kB / 188.2 MB, free: 0.6367 MB / 154.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (19): * Single equations (assignments): 18 * 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.0001824/0.07435, allocations: 137.7 kB / 188.4 MB, free: 0.4922 MB / 154.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.871e-05/0.07442, allocations: 19.77 kB / 188.4 MB, free: 484 kB / 154.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007617/0.07519, allocations: 204.3 kB / 188.6 MB, free: 268 kB / 154.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.07521, allocations: 4 kB / 188.6 MB, free: 264 kB / 154.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.07522, allocations: 0 / 188.6 MB, free: 264 kB / 154.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.07524, allocations: 0 / 188.6 MB, free: 264 kB / 154.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001176/0.07642, allocations: 0.5342 MB / 189.1 MB, free: 15.66 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.07644, allocations: 0 / 189.1 MB, free: 15.66 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002717/0.07672, allocations: 27.98 kB / 189.1 MB, free: 15.64 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001858/0.07692, allocations: 32.84 kB / 189.2 MB, free: 15.6 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.126e-05/0.07696, allocations: 11.88 kB / 189.2 MB, free: 15.59 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001527/0.07849, allocations: 1.363 MB / 190.6 MB, free: 14.09 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.785e-06/0.07853, allocations: 3.984 kB / 190.6 MB, free: 14.09 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001047/0.07958, allocations: 380.8 kB / 190.9 MB, free: 13.7 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001272/0.07973, allocations: 100.9 kB / 191 MB, free: 13.58 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.351e-05/0.07978, allocations: 4 kB / 191 MB, free: 13.57 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003561/0.08015, allocations: 35.97 kB / 191.1 MB, free: 13.54 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.194e-05/0.08027, allocations: 19.91 kB / 191.1 MB, free: 13.52 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.501e-05/0.0803, allocations: 12 kB / 191.1 MB, free: 13.51 MB / 170.7 MB Notification: Performance of sorting global known variables: time 0.0001466/0.08046, allocations: 128.3 kB / 191.2 MB, free: 13.38 MB / 170.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.08047, allocations: 0 / 191.2 MB, free: 13.38 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.0004412/0.08092, allocations: 63.84 kB / 191.3 MB, free: 13.32 MB / 170.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.0001828/0.08112, allocations: 103.2 kB / 191.4 MB, free: 13.21 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.0008117/0.08194, allocations: 274.5 kB / 191.7 MB, free: 12.93 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.08196, allocations: 0 / 191.7 MB, free: 12.93 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004415/0.08241, allocations: 194.9 kB / 191.8 MB, free: 12.73 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006499/0.08308, allocations: 68.02 kB / 191.9 MB, free: 12.66 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001229/0.08432, allocations: 0.5708 MB / 192.5 MB, free: 12.05 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003918/0.08474, allocations: 0.7401 MB / 193.2 MB, free: 11.29 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.346e-05/0.08483, allocations: 15.44 kB / 193.2 MB, free: 11.27 MB / 170.7 MB Notification: Performance of SimCode: time 9.12e-07/0.08484, allocations: 0 / 193.2 MB, free: 11.27 MB / 170.7 MB Notification: Performance of Templates: time 0.007563/0.09241, allocations: 3.176 MB / 196.4 MB, free: 8.105 MB / 170.7 MB