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.948/0.948, allocations: 111.1 MB / 126.7 MB, free: 6.145 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004172/0.0004175, allocations: 4 kB / 158.3 MB, free: 15.2 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04589/0.04634, allocations: 25.17 MB / 183.5 MB, free: 5.992 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2217/0.2681, allocations: 36.6 MB / 220.1 MB, free: 6 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002081/0.2683, allocations: 62.94 kB / 220.2 MB, free: 5.992 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01336/0.2817, allocations: 3.913 MB / 224.1 MB, free: 4.43 MB / 170.7 MB Notification: Performance of FrontEnd: time 2.622e-06/0.2817, allocations: 0 / 224.1 MB, free: 4.43 MB / 170.7 MB Notification: Performance of Transformations before backend: time 1.492e-05/0.2818, allocations: 7.812 kB / 224.1 MB, free: 4.426 MB / 170.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.0006985/0.2825, allocations: 0.497 MB / 224.6 MB, free: 3.984 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.2825, allocations: 11.56 kB / 224.6 MB, free: 3.984 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.281e-05/0.2826, allocations: 23.19 kB / 224.6 MB, free: 3.973 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000226/0.2828, allocations: 225.8 kB / 224.8 MB, free: 3.742 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.186e-05/0.2829, allocations: 19.19 kB / 224.8 MB, free: 3.742 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.251e-05/0.2829, allocations: 18.44 kB / 224.9 MB, free: 3.742 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004773/0.2834, allocations: 231.9 kB / 225.1 MB, free: 3.652 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.2834, allocations: 0 / 225.1 MB, free: 3.652 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.971e-05/0.2835, allocations: 14.27 kB / 225.1 MB, free: 3.648 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.181e-06/0.2835, allocations: 3.719 kB / 225.1 MB, free: 3.648 MB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004932/0.284, allocations: 166.3 kB / 225.3 MB, free: 3.617 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001345/0.2854, allocations: 0.8183 MB / 226.1 MB, free: 3.035 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004407/0.2858, allocations: 172.5 kB / 226.3 MB, free: 2.988 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.211e-05/0.2859, allocations: 80.95 kB / 226.3 MB, free: 2.895 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.896e-05/0.286, allocations: 33.94 kB / 226.4 MB, free: 2.855 MB / 170.7 MB Notification: Performance of pre-optimization done (n=16): time 2.838e-06/0.286, allocations: 0 / 226.4 MB, free: 2.855 MB / 170.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009671/0.287, allocations: 357.7 kB / 226.7 MB, free: 2.66 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.182e-05/0.287, allocations: 62.98 kB / 226.8 MB, free: 2.59 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001448/0.2871, allocations: 159.5 kB / 226.9 MB, free: 2.48 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.2872, allocations: 29.14 kB / 227 MB, free: 2.449 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.972e-05/0.2873, allocations: 203.8 kB / 227.2 MB, free: 2.27 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.423e-05/0.2873, allocations: 55.45 kB / 227.2 MB, free: 2.23 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.101e-05/0.2873, allocations: 3.188 kB / 227.2 MB, free: 2.23 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 5.028e-05/0.2874, allocations: 318.5 kB / 227.5 MB, free: 1.914 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002006/0.2876, allocations: 59.16 kB / 227.6 MB, free: 1.902 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002065/0.2878, allocations: 90.95 kB / 227.7 MB, free: 1.855 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001991/0.2881, allocations: 62.92 kB / 227.7 MB, free: 1.848 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.744e-06/0.2881, allocations: 0 / 227.7 MB, free: 1.848 MB / 170.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005932/0.2887, allocations: 219.2 kB / 228 MB, free: 1.762 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.2887, allocations: 3.875 kB / 228 MB, free: 1.762 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.639e-06/0.2887, allocations: 3.781 kB / 228 MB, free: 1.762 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002084/0.2889, allocations: 26.72 kB / 228 MB, free: 1.75 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001845/0.2891, allocations: 40.11 kB / 228 MB, free: 1.742 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001128/0.2903, allocations: 1.369 MB / 229.4 MB, free: 440 kB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002658/0.2906, allocations: 42.06 kB / 229.4 MB, free: 420 kB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.892e-05/0.2906, allocations: 9.656 kB / 229.4 MB, free: 420 kB / 170.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.0001327/0.2907, allocations: 129.1 kB / 229.6 MB, free: 300 kB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.572e-05/0.2908, allocations: 19.45 kB / 229.6 MB, free: 288 kB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005739/0.2914, allocations: 211.5 kB / 229.8 MB, free: 196 kB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.2914, allocations: 3.656 kB / 229.8 MB, free: 196 kB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.917e-06/0.2914, allocations: 3.984 kB / 229.8 MB, free: 192 kB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.724e-06/0.2915, allocations: 0 / 229.8 MB, free: 192 kB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009694/0.2924, allocations: 0.5301 MB / 230.3 MB, free: 15.81 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.2925, allocations: 0 / 230.3 MB, free: 15.81 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001915/0.2927, allocations: 30.78 kB / 230.4 MB, free: 15.8 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000153/0.2928, allocations: 35.44 kB / 230.4 MB, free: 15.79 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.21e-05/0.2929, allocations: 3.953 kB / 230.4 MB, free: 15.79 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001487/0.2944, allocations: 1.387 MB / 231.8 MB, free: 14.47 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.186e-06/0.2944, allocations: 0 / 231.8 MB, free: 14.47 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008351/0.2952, allocations: 369.7 kB / 232.2 MB, free: 14.28 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001287/0.2954, allocations: 106.4 kB / 232.3 MB, free: 14.17 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.666e-05/0.2954, allocations: 6.156 kB / 232.3 MB, free: 14.17 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002674/0.2957, allocations: 33.44 kB / 232.3 MB, free: 14.15 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.401e-05/0.2958, allocations: 19.66 kB / 232.3 MB, free: 14.14 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-05/0.2958, allocations: 7.781 kB / 232.3 MB, free: 14.14 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001476/0.296, allocations: 136.9 kB / 232.5 MB, free: 14.05 MB / 186.7 MB Notification: Performance of sort global known variables: time 7.45e-07/0.296, allocations: 0 / 232.5 MB, free: 14.05 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0004575/0.2965, allocations: 60.53 kB / 232.5 MB, free: 14.04 MB / 186.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.0001834/0.2967, allocations: 114.8 kB / 232.6 MB, free: 13.94 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0006581/0.2973, allocations: 273.3 kB / 232.9 MB, free: 13.74 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.212e-06/0.2974, allocations: 0 / 232.9 MB, free: 13.74 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003665/0.2977, allocations: 199.9 kB / 233.1 MB, free: 13.55 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005188/0.2983, allocations: 65.39 kB / 233.2 MB, free: 13.5 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/0.2994, allocations: 0.575 MB / 233.7 MB, free: 12.92 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000444/0.2999, allocations: 0.744 MB / 234.5 MB, free: 12.15 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.365e-05/0.2999, allocations: 15.44 kB / 234.5 MB, free: 12.13 MB / 186.7 MB Notification: Performance of SimCode: time 3.641e-06/0.2999, allocations: 0 / 234.5 MB, free: 12.13 MB / 186.7 MB Notification: Performance of Templates: time 0.006708/0.3067, allocations: 3.175 MB / 237.7 MB, free: 8.98 MB / 186.7 MB