Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.147/1.147, allocations: 111.1 MB / 127.3 MB, free: 6.141 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002914/0.0002916, allocations: 8 kB / 158.9 MB, free: 15.24 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05881/0.05914, allocations: 25.16 MB / 184 MB, free: 6.031 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2237/0.2829, allocations: 36.59 MB / 220.6 MB, free: 5.992 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002428/0.2832, allocations: 64.41 kB / 220.7 MB, free: 5.984 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01578/0.2989, allocations: 3.909 MB / 224.6 MB, free: 4.414 MB / 170.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.299, allocations: 0 / 224.6 MB, free: 4.414 MB / 170.7 MB Notification: Performance of Transformations before backend: time 1.721e-05/0.299, allocations: 7.234 kB / 224.6 MB, free: 4.414 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.0009771/0.3, allocations: 0.5023 MB / 225.1 MB, free: 3.973 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.3001, allocations: 6.969 kB / 225.1 MB, free: 3.973 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.047e-05/0.3002, allocations: 26.91 kB / 225.1 MB, free: 3.961 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003125/0.3005, allocations: 220.2 kB / 225.4 MB, free: 3.734 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.3005, allocations: 15.88 kB / 225.4 MB, free: 3.734 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.421e-05/0.3006, allocations: 18.84 kB / 225.4 MB, free: 3.734 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005878/0.3012, allocations: 235.4 kB / 225.6 MB, free: 3.641 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/0.3012, allocations: 0 / 225.6 MB, free: 3.641 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.394e-05/0.3013, allocations: 10.83 kB / 225.6 MB, free: 3.637 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.697e-06/0.3013, allocations: 7.688 kB / 225.6 MB, free: 3.637 MB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005791/0.3019, allocations: 162.3 kB / 225.8 MB, free: 3.613 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00166/0.3035, allocations: 0.8228 MB / 226.6 MB, free: 3.027 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005452/0.3041, allocations: 170.4 kB / 226.8 MB, free: 2.98 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001324/0.3043, allocations: 84.89 kB / 226.9 MB, free: 2.883 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/0.3043, allocations: 45.89 kB / 226.9 MB, free: 2.836 MB / 170.7 MB Notification: Performance of pre-optimization done (n=16): time 2.665e-06/0.3043, allocations: 0 / 226.9 MB, free: 2.836 MB / 170.7 MB Notification: Performance of matching and sorting (n=16): time 0.001269/0.3056, allocations: 351.2 kB / 227.3 MB, free: 2.645 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.392e-05/0.3057, allocations: 63.19 kB / 227.3 MB, free: 2.574 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001867/0.3059, allocations: 178.3 kB / 227.5 MB, free: 2.453 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 2.673e-05/0.3059, allocations: 25.7 kB / 227.5 MB, free: 2.422 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.738e-05/0.306, allocations: 204.7 kB / 227.7 MB, free: 2.242 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.233e-05/0.3061, allocations: 54.33 kB / 227.8 MB, free: 2.203 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.23e-05/0.3061, allocations: 3.375 kB / 227.8 MB, free: 2.203 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 6.44e-05/0.3062, allocations: 322.5 kB / 228.1 MB, free: 1.887 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002379/0.3064, allocations: 56.78 kB / 228.1 MB, free: 1.875 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002502/0.3067, allocations: 90.98 kB / 228.2 MB, free: 1.832 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002413/0.3069, allocations: 60.89 kB / 228.3 MB, free: 1.824 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.3069, allocations: 0 / 228.3 MB, free: 1.824 MB / 170.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007018/0.3077, allocations: 226.5 kB / 228.5 MB, free: 1.738 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.3077, allocations: 3.969 kB / 228.5 MB, free: 1.738 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.3077, allocations: 3.812 kB / 228.5 MB, free: 1.738 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002607/0.308, allocations: 26.94 kB / 228.5 MB, free: 1.727 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003043/0.3083, allocations: 39.97 kB / 228.6 MB, free: 1.715 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001363/0.3097, allocations: 1.367 MB / 230 MB, free: 420 kB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003799/0.3101, allocations: 43.34 kB / 230 MB, free: 400 kB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.3e-05/0.3101, allocations: 6.375 kB / 230 MB, free: 400 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.0001794/0.3103, allocations: 130.1 kB / 230.1 MB, free: 280 kB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.391e-05/0.3104, allocations: 19.27 kB / 230.1 MB, free: 268 kB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007561/0.3112, allocations: 216.8 kB / 230.4 MB, free: 172 kB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-06/0.3112, allocations: 3.844 kB / 230.4 MB, free: 172 kB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.3112, allocations: 0 / 230.4 MB, free: 172 kB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.3112, allocations: 0 / 230.4 MB, free: 172 kB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001202/0.3124, allocations: 0.5228 MB / 230.9 MB, free: 15.79 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.3125, allocations: 0 / 230.9 MB, free: 15.79 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002754/0.3128, allocations: 41.75 kB / 230.9 MB, free: 15.78 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001968/0.313, allocations: 24.03 kB / 230.9 MB, free: 15.77 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.555e-05/0.313, allocations: 11.52 kB / 231 MB, free: 15.77 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001642/0.3147, allocations: 1.381 MB / 232.3 MB, free: 14.45 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.3147, allocations: 0 / 232.3 MB, free: 14.45 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001056/0.3158, allocations: 376.3 kB / 232.7 MB, free: 14.25 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001514/0.316, allocations: 100.4 kB / 232.8 MB, free: 14.15 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.545e-05/0.316, allocations: 3.812 kB / 232.8 MB, free: 14.15 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003778/0.3164, allocations: 34.12 kB / 232.8 MB, free: 14.14 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.25e-05/0.3165, allocations: 14.84 kB / 232.9 MB, free: 14.13 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.929e-05/0.3165, allocations: 8.031 kB / 232.9 MB, free: 14.12 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001598/0.3167, allocations: 137.9 kB / 233 MB, free: 14.03 MB / 186.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.3167, allocations: 0 / 233 MB, free: 14.03 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0004858/0.3172, allocations: 63.41 kB / 233.1 MB, free: 14.02 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.0002133/0.3175, allocations: 106.8 kB / 233.2 MB, free: 13.93 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0008648/0.3183, allocations: 273.8 kB / 233.4 MB, free: 13.79 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.3184, allocations: 3.938 kB / 233.4 MB, free: 13.78 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004547/0.3188, allocations: 199.9 kB / 233.6 MB, free: 13.61 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007367/0.3196, allocations: 52.95 kB / 233.7 MB, free: 13.57 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001385/0.321, allocations: 0.5841 MB / 234.3 MB, free: 12.98 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004052/0.3214, allocations: 0.7362 MB / 235 MB, free: 12.21 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.785e-05/0.3215, allocations: 15.44 kB / 235 MB, free: 12.2 MB / 186.7 MB Notification: Performance of SimCode: time 3.767e-06/0.3215, allocations: 0 / 235 MB, free: 12.2 MB / 186.7 MB Notification: Performance of Templates: time 0.008539/0.3301, allocations: 3.196 MB / 238.2 MB, free: 9.031 MB / 186.7 MB