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: "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,fileNamePrefix="Modelica_3_1_cpp_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.078/1.078, allocations: 111.2 MB / 124.2 MB, free: 11.21 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.329e-05/2.343e-05, allocations: 0 / 154.4 MB, free: 13.11 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.237/0.237, allocations: 25.15 MB / 179.5 MB, free: 0.6992 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06855/0.3056, allocations: 36.52 MB / 216 MB, free: 12.49 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002556/0.306, allocations: 59.97 kB / 216.1 MB, free: 12.43 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01835/0.3243, allocations: 3.906 MB / 220 MB, free: 8.512 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3244, allocations: 0 / 220 MB, free: 8.512 MB / 186.7 MB Notification: Performance of Transformations before backend: time 2.229e-05/0.3244, allocations: 8 kB / 220 MB, free: 8.504 MB / 186.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.00117/0.3256, allocations: 0.4905 MB / 220.5 MB, free: 7.969 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.697e-05/0.3257, allocations: 8.031 kB / 220.5 MB, free: 7.961 MB / 186.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001238/0.3258, allocations: 58.98 kB / 220.6 MB, free: 7.895 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.63e-05/0.3259, allocations: 27.72 kB / 220.6 MB, free: 7.867 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003593/0.3263, allocations: 222.7 kB / 220.8 MB, free: 7.609 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.767e-05/0.3263, allocations: 16.44 kB / 220.8 MB, free: 7.594 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.714e-05/0.3264, allocations: 19.94 kB / 220.8 MB, free: 7.574 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005443/0.3269, allocations: 209.9 kB / 221 MB, free: 7.359 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.327, allocations: 0 / 221 MB, free: 7.359 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.354e-05/0.327, allocations: 19.95 kB / 221.1 MB, free: 7.34 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/0.3271, allocations: 4 kB / 221.1 MB, free: 7.336 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004093/0.3275, allocations: 129.7 kB / 221.2 MB, free: 7.207 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001953/0.3295, allocations: 0.8244 MB / 222 MB, free: 6.309 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00049/0.33, allocations: 147.4 kB / 222.2 MB, free: 6.156 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001767/0.3302, allocations: 69.08 kB / 222.2 MB, free: 6.086 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001481/0.3303, allocations: 77.11 kB / 222.3 MB, free: 5.992 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.826e-05/0.3304, allocations: 46.48 kB / 222.4 MB, free: 5.938 MB / 186.7 MB Notification: Performance of pre-optimization done (n=16): time 2.956e-06/0.3304, allocations: 0 / 222.4 MB, free: 5.938 MB / 186.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006326/0.331, allocations: 159.2 kB / 222.5 MB, free: 5.773 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.568e-05/0.3311, allocations: 55.41 kB / 222.6 MB, free: 5.707 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002456/0.3314, allocations: 153.8 kB / 222.7 MB, free: 5.547 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 3.601e-05/0.3314, allocations: 29.7 kB / 222.7 MB, free: 5.512 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001564/0.3316, allocations: 206.6 kB / 222.9 MB, free: 5.309 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.232e-05/0.3317, allocations: 55.19 kB / 223 MB, free: 5.254 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.891e-05/0.3317, allocations: 8 kB / 223 MB, free: 5.246 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.3319, allocations: 318.8 kB / 223.3 MB, free: 4.926 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.332, allocations: 40.38 kB / 223.4 MB, free: 4.887 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001557/0.3322, allocations: 68.17 kB / 223.4 MB, free: 4.809 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001483/0.3323, allocations: 46.89 kB / 223.5 MB, free: 4.766 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/0.3323, allocations: 0 / 223.5 MB, free: 4.766 MB / 186.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000548/0.3329, allocations: 182.2 kB / 223.7 MB, free: 4.578 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.3329, allocations: 8 kB / 223.7 MB, free: 4.57 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.333, allocations: 0 / 223.7 MB, free: 4.57 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002666/0.3332, allocations: 36.78 kB / 223.7 MB, free: 4.531 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002832/0.3335, allocations: 35.97 kB / 223.7 MB, free: 4.496 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001649/0.3352, allocations: 1.351 MB / 225.1 MB, free: 3.008 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003947/0.3356, allocations: 43.91 kB / 225.1 MB, free: 2.965 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.445e-05/0.3357, allocations: 4 kB / 225.1 MB, free: 2.961 MB / 186.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 () * 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.0001402/0.3358, allocations: 131.5 kB / 225.3 MB, free: 2.828 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.303e-05/0.3359, allocations: 15.81 kB / 225.3 MB, free: 2.812 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005774/0.3365, allocations: 169.1 kB / 225.4 MB, free: 2.637 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.3365, allocations: 4.078 kB / 225.4 MB, free: 2.633 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.3365, allocations: 0 / 225.4 MB, free: 2.633 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/0.3365, allocations: 15.97 kB / 225.5 MB, free: 2.617 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001025/0.3376, allocations: 0.4913 MB / 225.9 MB, free: 2.066 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.3376, allocations: 3.938 kB / 226 MB, free: 2.062 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002895/0.3379, allocations: 23.98 kB / 226 MB, free: 2.039 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001973/0.3381, allocations: 40.8 kB / 226 MB, free: 1.996 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.953e-05/0.3382, allocations: 0 / 226 MB, free: 1.996 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001634/0.3398, allocations: 1.355 MB / 227.4 MB, free: 0.5039 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.3399, allocations: 4.031 kB / 227.4 MB, free: 0.5 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007485/0.3406, allocations: 313.4 kB / 227.7 MB, free: 180 kB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000147/0.3408, allocations: 104.9 kB / 227.8 MB, free: 56 kB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.943e-05/0.3408, allocations: 4 kB / 227.8 MB, free: 52 kB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003768/0.3412, allocations: 32.09 kB / 227.8 MB, free: 20 kB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.3413, allocations: 19.97 kB / 227.8 MB, free: 0 / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.707e-05/0.3414, allocations: 112 / 227.8 MB, free: 16 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0001698/0.3416, allocations: 140.2 kB / 228 MB, free: 15.86 MB / 202.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.3416, allocations: 0 / 228 MB, free: 15.86 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.0004608/0.3421, allocations: 59.84 kB / 228 MB, free: 15.8 MB / 202.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.001226/0.3433, allocations: 0.8586 MB / 228.9 MB, free: 14.91 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.0006077/0.344, allocations: 233.4 kB / 229.1 MB, free: 14.68 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.344, allocations: 4.25 kB / 229.1 MB, free: 14.67 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003446/0.3443, allocations: 186.5 kB / 229.3 MB, free: 14.48 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007252/0.3451, allocations: 68.69 kB / 229.4 MB, free: 14.41 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001228/0.3463, allocations: 372.9 kB / 229.7 MB, free: 14.01 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004303/0.3468, allocations: 0.7402 MB / 230.5 MB, free: 13.24 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001634/0.347, allocations: 59.42 kB / 230.5 MB, free: 13.19 MB / 202.7 MB Notification: Performance of SimCode: time 1.162e-06/0.347, allocations: 3.938 kB / 230.5 MB, free: 13.18 MB / 202.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.729/3.076, allocations: 4.108 MB / 234.6 MB, free: 9.078 MB / 202.7 MB