Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|heatCapacitor.T|onOffController.y",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") Notification: Performance of loadModel(Modelica): time 1.582/1.582, allocations: 171.2 MB / 186.7 MB, free: 1.035 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000564/0.0005644, allocations: 8 kB / 233.2 MB, free: 3.027 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1066, allocations: 38.76 MB / 272 MB, free: 12.18 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.341/0.4476, allocations: 68.74 MB / 340.7 MB, free: 5.133 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003757/0.4481, allocations: 75.14 kB / 340.8 MB, free: 5.09 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02959/0.4777, allocations: 3.845 MB / 344.7 MB, free: 1.773 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.397e-06/0.4777, allocations: 0 / 344.7 MB, free: 1.773 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.454e-05/0.4778, allocations: 4 kB / 344.7 MB, free: 1.77 MB / 266.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.001833/0.4797, allocations: 0.5169 MB / 345.2 MB, free: 1.223 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.577e-05/0.4797, allocations: 8.031 kB / 345.2 MB, free: 1.215 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002878/0.4801, allocations: 23.72 kB / 345.2 MB, free: 1.191 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006283/0.4807, allocations: 228.8 kB / 345.4 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.856e-05/0.4808, allocations: 16.33 kB / 345.4 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/0.4809, allocations: 22.94 kB / 345.5 MB, free: 0.918 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001185/0.4821, allocations: 231.2 kB / 345.7 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.93e-05/0.4822, allocations: 0 / 345.7 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.126e-05/0.4823, allocations: 3.812 kB / 345.7 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.943e-05/0.4823, allocations: 12 kB / 345.7 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001138/0.4835, allocations: 159.7 kB / 345.9 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004583/0.4881, allocations: 0.8265 MB / 346.7 MB, free: 15.85 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001057/0.4892, allocations: 161.4 kB / 346.9 MB, free: 15.73 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.39e-05/0.4893, allocations: 8 kB / 346.9 MB, free: 15.72 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.53e-05/0.4894, allocations: 34.5 kB / 346.9 MB, free: 15.68 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 5.824e-06/0.4894, allocations: 3.938 kB / 346.9 MB, free: 15.68 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.002359/0.4918, allocations: 356.8 kB / 347.2 MB, free: 15.34 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.048e-05/0.4919, allocations: 51.41 kB / 347.3 MB, free: 15.28 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004057/0.4924, allocations: 157.5 kB / 347.4 MB, free: 15.14 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.591e-05/0.4924, allocations: 32.77 kB / 347.5 MB, free: 15.1 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002692/0.4927, allocations: 213.5 kB / 347.7 MB, free: 14.91 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001235/0.4929, allocations: 52.56 kB / 347.7 MB, free: 14.86 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.388e-05/0.4929, allocations: 0 / 347.7 MB, free: 14.86 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002765/0.4932, allocations: 318.4 kB / 348.1 MB, free: 14.55 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004403/0.4937, allocations: 55.84 kB / 348.1 MB, free: 14.51 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004903/0.4942, allocations: 89.52 kB / 348.2 MB, free: 14.43 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000437/0.4947, allocations: 60.73 kB / 348.3 MB, free: 14.39 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.897e-06/0.4947, allocations: 7.938 kB / 348.3 MB, free: 14.38 MB / 282.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001374/0.4961, allocations: 217.8 kB / 348.5 MB, free: 14.2 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.549e-05/0.4962, allocations: 4 kB / 348.5 MB, free: 14.2 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.4962, allocations: 96 / 348.5 MB, free: 14.2 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004183/0.4967, allocations: 35.97 kB / 348.5 MB, free: 14.16 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004427/0.4972, allocations: 43.72 kB / 348.6 MB, free: 14.12 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003157/0.5003, allocations: 1.367 MB / 349.9 MB, free: 12.7 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005537/0.5009, allocations: 35.25 kB / 350 MB, free: 12.67 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.295e-05/0.501, allocations: 8 kB / 350 MB, free: 12.66 MB / 282.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.0003674/0.5014, allocations: 137.3 kB / 350.1 MB, free: 12.53 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001429/0.5016, allocations: 15.81 kB / 350.1 MB, free: 12.52 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001067/0.5017, allocations: 31.67 kB / 350.1 MB, free: 12.5 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.856e-06/0.5017, allocations: 0 / 350.1 MB, free: 12.5 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.565e-06/0.5018, allocations: 0 / 350.1 MB, free: 12.5 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.685e-06/0.5018, allocations: 0 / 350.1 MB, free: 12.5 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002175/0.504, allocations: 0.5313 MB / 350.7 MB, free: 11.98 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.467e-06/0.504, allocations: 0 / 350.7 MB, free: 11.98 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004243/0.5045, allocations: 27.98 kB / 350.7 MB, free: 11.95 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000338/0.5048, allocations: 28.03 kB / 350.7 MB, free: 11.93 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.878e-05/0.5049, allocations: 11.45 kB / 350.7 MB, free: 11.92 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002763/0.5077, allocations: 1.365 MB / 352.1 MB, free: 10.51 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.771e-06/0.5078, allocations: 4.031 kB / 352.1 MB, free: 10.5 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001666/0.5095, allocations: 375.7 kB / 352.5 MB, free: 10.18 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000264/0.5098, allocations: 104.4 kB / 352.6 MB, free: 10.07 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.416e-05/0.5099, allocations: 3.625 kB / 352.6 MB, free: 10.07 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006076/0.5105, allocations: 27.47 kB / 352.6 MB, free: 10.04 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001408/0.5107, allocations: 16.25 kB / 352.6 MB, free: 10.03 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.573e-05/0.5107, allocations: 11.75 kB / 352.6 MB, free: 10.02 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003095/0.5111, allocations: 130.8 kB / 352.8 MB, free: 9.906 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.026e-06/0.5111, allocations: 0 / 352.8 MB, free: 9.906 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001092/0.5122, allocations: 55.47 kB / 352.8 MB, free: 9.855 MB / 282.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.0002968/0.5125, allocations: 110.8 kB / 352.9 MB, free: 9.742 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001383/0.5139, allocations: 270.9 kB / 353.2 MB, free: 9.5 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.844e-06/0.514, allocations: 0 / 353.2 MB, free: 9.5 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007833/0.5148, allocations: 211.8 kB / 353.4 MB, free: 9.305 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007222/0.5155, allocations: 32.59 kB / 353.4 MB, free: 9.281 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002192/0.5178, allocations: 0.5694 MB / 354 MB, free: 8.703 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008095/0.5186, allocations: 0.7439 MB / 354.7 MB, free: 7.934 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001465/0.5188, allocations: 19.44 kB / 354.8 MB, free: 7.914 MB / 282.7 MB Notification: Performance of SimCode: time 9.917e-06/0.5188, allocations: 0 / 354.8 MB, free: 7.914 MB / 282.7 MB Notification: Performance of Templates: time 0.01285/0.5317, allocations: 3.042 MB / 357.8 MB, free: 4.898 MB / 282.7 MB