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 1.206/1.206, allocations: 111.1 MB / 126.7 MB, free: 6.125 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005681/0.0005683, allocations: 7.984 kB / 158.2 MB, free: 15.22 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09386/0.09448, allocations: 25.18 MB / 183.4 MB, free: 6 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.002865/0.09739, allocations: 1.895 MB / 185.3 MB, free: 4.102 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.001118/0.09854, allocations: 0.5461 MB / 185.9 MB, free: 3.555 MB / 154.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001327/0.0987, allocations: 4 kB / 185.9 MB, free: 3.551 MB / 154.7 MB Notification: Performance of NFTyping.typeComponents: time 6.821e-05/0.0988, allocations: 27.83 kB / 185.9 MB, free: 3.523 MB / 154.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.0003309/0.09915, allocations: 95.72 kB / 186 MB, free: 3.43 MB / 154.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001811/0.09935, allocations: 51.92 kB / 186 MB, free: 3.379 MB / 154.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003519/0.09971, allocations: 195.6 kB / 186.2 MB, free: 3.188 MB / 154.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001902/0.09992, allocations: 73.97 kB / 186.3 MB, free: 3.117 MB / 154.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001388/0.1001, allocations: 79.72 kB / 186.4 MB, free: 3.039 MB / 154.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002177/0.1003, allocations: 103.5 kB / 186.5 MB, free: 2.938 MB / 154.7 MB Notification: Performance of NFPackage.collectConstants: time 3.457e-05/0.1004, allocations: 12 kB / 186.5 MB, free: 2.926 MB / 154.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.006e-05/0.1004, allocations: 15.94 kB / 186.5 MB, free: 2.91 MB / 154.7 MB Notification: Performance of NFScalarize.scalarize: time 4.57e-05/0.1005, allocations: 39.84 kB / 186.5 MB, free: 2.871 MB / 154.7 MB Notification: Performance of NFVerifyModel.verify: time 8.62e-05/0.1006, allocations: 61.64 kB / 186.6 MB, free: 2.805 MB / 154.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003047/0.1009, allocations: 195.4 kB / 186.8 MB, free: 2.613 MB / 154.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.387e-06/0.1009, allocations: 0 / 186.8 MB, free: 2.613 MB / 154.7 MB Notification: Performance of FrontEnd: time 1.654e-06/0.101, allocations: 0 / 186.8 MB, free: 2.613 MB / 154.7 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.101, allocations: 0 / 186.8 MB, free: 2.613 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.001006/0.102, allocations: 0.5146 MB / 187.3 MB, free: 2.051 MB / 154.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.102, allocations: 8.031 kB / 187.3 MB, free: 2.043 MB / 154.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.012e-05/0.1021, allocations: 27.7 kB / 187.3 MB, free: 2.016 MB / 154.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003372/0.1025, allocations: 231.1 kB / 187.6 MB, free: 1.75 MB / 154.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.58e-05/0.1025, allocations: 16.44 kB / 187.6 MB, free: 1.734 MB / 154.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.093e-05/0.1026, allocations: 27.92 kB / 187.6 MB, free: 1.707 MB / 154.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005751/0.1032, allocations: 221.9 kB / 187.8 MB, free: 1.48 MB / 154.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.16e-05/0.1032, allocations: 0 / 187.8 MB, free: 1.48 MB / 154.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.226e-05/0.1033, allocations: 15.94 kB / 187.9 MB, free: 1.465 MB / 154.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.1033, allocations: 8 kB / 187.9 MB, free: 1.457 MB / 154.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005418/0.1039, allocations: 165.6 kB / 188 MB, free: 1.293 MB / 154.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00178/0.1057, allocations: 0.8165 MB / 188.8 MB, free: 420 kB / 154.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005313/0.1062, allocations: 170.5 kB / 189 MB, free: 240 kB / 154.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001258/0.1064, allocations: 81.11 kB / 189.1 MB, free: 140 kB / 154.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.887e-05/0.1064, allocations: 30.56 kB / 189.1 MB, free: 100 kB / 154.7 MB Notification: Performance of pre-optimization done (n=16): time 3.246e-06/0.1064, allocations: 0 / 189.1 MB, free: 100 kB / 154.7 MB Notification: Performance of matching and sorting (n=16): time 0.001124/0.1076, allocations: 355.2 kB / 189.5 MB, free: 15.72 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.788e-05/0.1076, allocations: 59.39 kB / 189.5 MB, free: 15.65 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002489/0.1079, allocations: 174.6 kB / 189.7 MB, free: 15.47 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 3.844e-05/0.108, allocations: 33.7 kB / 189.7 MB, free: 15.43 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001489/0.1081, allocations: 206.5 kB / 189.9 MB, free: 15.23 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.941e-05/0.1082, allocations: 55.27 kB / 190 MB, free: 15.17 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.707e-05/0.1082, allocations: 8 kB / 190 MB, free: 15.16 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.1084, allocations: 318.8 kB / 190.3 MB, free: 14.84 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002255/0.1086, allocations: 60.34 kB / 190.4 MB, free: 14.79 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002515/0.1089, allocations: 104.9 kB / 190.5 MB, free: 14.67 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002191/0.1091, allocations: 63.98 kB / 190.5 MB, free: 14.61 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.1092, allocations: 0 / 190.5 MB, free: 14.61 MB / 170.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007043/0.1099, allocations: 224.9 kB / 190.7 MB, free: 14.38 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.1099, allocations: 4 kB / 190.7 MB, free: 14.38 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.1099, allocations: 0 / 190.7 MB, free: 14.38 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002463/0.1102, allocations: 32.84 kB / 190.8 MB, free: 14.34 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00021/0.1104, allocations: 39.91 kB / 190.8 MB, free: 14.3 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001704/0.1121, allocations: 1.375 MB / 192.2 MB, free: 12.79 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003023/0.1125, allocations: 43.91 kB / 192.2 MB, free: 12.75 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.211e-05/0.1125, allocations: 8 kB / 192.2 MB, free: 12.74 MB / 170.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 () * Number of clocked 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.0001946/0.1127, allocations: 125.8 kB / 192.4 MB, free: 12.61 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.884e-05/0.1128, allocations: 19.77 kB / 192.4 MB, free: 12.59 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006467/0.1135, allocations: 220.8 kB / 192.6 MB, free: 12.36 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.078e-06/0.1135, allocations: 4 kB / 192.6 MB, free: 12.36 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.719e-06/0.1135, allocations: 0 / 192.6 MB, free: 12.36 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.1135, allocations: 0 / 192.6 MB, free: 12.36 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001025/0.1146, allocations: 0.5265 MB / 193.1 MB, free: 11.77 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.342e-06/0.1146, allocations: 3.984 kB / 193.1 MB, free: 11.77 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002/0.1148, allocations: 31.92 kB / 193.2 MB, free: 11.73 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001738/0.115, allocations: 36.73 kB / 193.2 MB, free: 11.7 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.879e-05/0.115, allocations: 8 kB / 193.2 MB, free: 11.69 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001569/0.1166, allocations: 1.363 MB / 194.6 MB, free: 10.19 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.452e-06/0.1166, allocations: 8.047 kB / 194.6 MB, free: 10.18 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000888/0.1175, allocations: 375.9 kB / 194.9 MB, free: 9.797 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000132/0.1177, allocations: 96.97 kB / 195 MB, free: 9.684 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.838e-05/0.1177, allocations: 8 kB / 195 MB, free: 9.676 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002679/0.118, allocations: 27.88 kB / 195.1 MB, free: 9.648 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.714e-05/0.1181, allocations: 24.03 kB / 195.1 MB, free: 9.625 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.784e-05/0.1182, allocations: 4 kB / 195.1 MB, free: 9.621 MB / 170.7 MB Notification: Performance of sorting global known variables: time 0.0001478/0.1183, allocations: 132.3 kB / 195.2 MB, free: 9.492 MB / 170.7 MB Notification: Performance of sort global known variables: time 7.93e-07/0.1183, allocations: 0 / 195.2 MB, free: 9.492 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.0004636/0.1188, allocations: 63.84 kB / 195.3 MB, free: 9.43 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) * 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.00019/0.119, allocations: 107.2 kB / 195.4 MB, free: 9.316 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.0007152/0.1197, allocations: 274.4 kB / 195.7 MB, free: 9.035 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 3.551e-06/0.1198, allocations: 0 / 195.7 MB, free: 9.035 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003757/0.1201, allocations: 198.9 kB / 195.9 MB, free: 8.828 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005232/0.1207, allocations: 58.83 kB / 195.9 MB, free: 8.773 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001139/0.1218, allocations: 0.5749 MB / 196.5 MB, free: 8.164 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004471/0.1223, allocations: 0.7362 MB / 197.2 MB, free: 7.402 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.232e-05/0.1224, allocations: 23.44 kB / 197.3 MB, free: 7.379 MB / 170.7 MB Notification: Performance of SimCode: time 1.682e-06/0.1224, allocations: 0 / 197.3 MB, free: 7.379 MB / 170.7 MB Notification: Performance of Templates: time 0.006751/0.1292, allocations: 3.172 MB / 200.4 MB, free: 4.207 MB / 170.7 MB