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/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.133/1.133, allocations: 111.2 MB / 119.1 MB, free: 11.18 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.537e-05/2.533e-05, allocations: 0 / 148.2 MB, free: 6.137 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05567/0.05573, allocations: 25.18 MB / 173.4 MB, free: 12.92 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.232/0.2878, allocations: 35.85 MB / 209.2 MB, free: 5.02 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002417/0.2881, allocations: 62.33 kB / 209.3 MB, free: 5.02 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01676/0.3048, allocations: 3.868 MB / 213.2 MB, free: 4.438 MB / 170.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3049, allocations: 0 / 213.2 MB, free: 4.438 MB / 170.7 MB Notification: Performance of Transformations before backend: time 2.064e-05/0.3049, allocations: 11.62 kB / 213.2 MB, free: 4.434 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.0009828/0.3059, allocations: 0.4939 MB / 213.7 MB, free: 4.035 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.306, allocations: 7.375 kB / 213.7 MB, free: 4.035 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.202e-05/0.3061, allocations: 26.34 kB / 213.7 MB, free: 4.023 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003123/0.3064, allocations: 216.9 kB / 213.9 MB, free: 3.809 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.3064, allocations: 7.75 kB / 213.9 MB, free: 3.809 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.822e-05/0.3065, allocations: 13.91 kB / 213.9 MB, free: 3.809 MB / 170.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003372/0.3068, allocations: 114.8 kB / 214 MB, free: 3.809 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003959/0.3072, allocations: 176.6 kB / 214.2 MB, free: 3.754 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/0.3073, allocations: 7.422 kB / 214.2 MB, free: 3.75 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.776e-05/0.3073, allocations: 0 / 214.2 MB, free: 3.75 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/0.3073, allocations: 3.688 kB / 214.2 MB, free: 3.75 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001564/0.3089, allocations: 0.7744 MB / 215 MB, free: 3.312 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003921/0.3093, allocations: 136 kB / 215.1 MB, free: 3.285 MB / 170.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001322/0.3095, allocations: 61.17 kB / 215.2 MB, free: 3.277 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001154/0.3096, allocations: 79.64 kB / 215.3 MB, free: 3.184 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.969e-05/0.3096, allocations: 34.44 kB / 215.3 MB, free: 3.145 MB / 170.7 MB Notification: Performance of pre-optimization done (n=16): time 2.445e-06/0.3096, allocations: 0 / 215.3 MB, free: 3.145 MB / 170.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005473/0.3102, allocations: 154.7 kB / 215.5 MB, free: 3.086 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.653e-05/0.3102, allocations: 55.36 kB / 215.5 MB, free: 3.02 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.3104, allocations: 131.3 kB / 215.6 MB, free: 2.93 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/0.3104, allocations: 29.45 kB / 215.7 MB, free: 2.898 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.66e-05/0.3105, allocations: 202.7 kB / 215.9 MB, free: 2.723 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.676e-05/0.3106, allocations: 51.5 kB / 215.9 MB, free: 2.688 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.114e-05/0.3106, allocations: 0 / 215.9 MB, free: 2.688 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 6.305e-05/0.3107, allocations: 324.9 kB / 216.2 MB, free: 2.371 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.58e-05/0.3108, allocations: 37.78 kB / 216.3 MB, free: 2.367 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.3109, allocations: 67.33 kB / 216.3 MB, free: 2.336 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001531/0.3111, allocations: 44.39 kB / 216.4 MB, free: 2.336 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.3111, allocations: 0 / 216.4 MB, free: 2.336 MB / 170.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004481/0.3115, allocations: 169.9 kB / 216.5 MB, free: 2.273 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/0.3116, allocations: 9.422 kB / 216.5 MB, free: 2.27 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.3116, allocations: 0.625 kB / 216.6 MB, free: 2.27 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002331/0.3118, allocations: 29.95 kB / 216.6 MB, free: 2.262 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000279/0.3121, allocations: 43.75 kB / 216.6 MB, free: 2.254 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001104/0.3132, allocations: 1.306 MB / 217.9 MB, free: 1.043 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003489/0.3136, allocations: 35.36 kB / 218 MB, free: 1.035 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.3137, allocations: 3.812 kB / 218 MB, free: 1.035 MB / 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 () * 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 9.95e-05/0.3138, allocations: 108.2 kB / 218.1 MB, free: 0.9258 MB / 170.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000466/0.3142, allocations: 151.4 kB / 218.2 MB, free: 0.8711 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.645e-05/0.3143, allocations: 15.34 kB / 218.2 MB, free: 0.8633 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004374/0.3147, allocations: 155.1 kB / 218.4 MB, free: 0.8086 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.3148, allocations: 6.391 kB / 218.4 MB, free: 0.8047 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.3148, allocations: 3.344 kB / 218.4 MB, free: 0.8047 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.3148, allocations: 0 / 218.4 MB, free: 0.8047 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007492/0.3156, allocations: 452.9 kB / 218.8 MB, free: 0.5156 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.3156, allocations: 0 / 218.8 MB, free: 0.5156 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002761/0.3159, allocations: 37.25 kB / 218.9 MB, free: 0.5078 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001664/0.316, allocations: 32.11 kB / 218.9 MB, free: 0.5 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.789e-05/0.3161, allocations: 2.25 kB / 218.9 MB, free: 0.5 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001262/0.3173, allocations: 1.301 MB / 220.2 MB, free: 15.29 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/0.3174, allocations: 3.984 kB / 220.2 MB, free: 15.28 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000622/0.318, allocations: 296.5 kB / 220.5 MB, free: 15.13 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001471/0.3182, allocations: 108.2 kB / 220.6 MB, free: 15.02 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.243e-05/0.3182, allocations: 0 / 220.6 MB, free: 15.02 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003435/0.3186, allocations: 28.09 kB / 220.6 MB, free: 15.02 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.985e-05/0.3187, allocations: 17.25 kB / 220.7 MB, free: 15.02 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.3187, allocations: 3.875 kB / 220.7 MB, free: 15.02 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001102/0.3188, allocations: 109.9 kB / 220.8 MB, free: 14.95 MB / 186.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.3188, allocations: 0 / 220.8 MB, free: 14.95 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0004823/0.3193, allocations: 61.5 kB / 220.8 MB, free: 14.93 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) * 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.001042/0.3204, allocations: 0.8437 MB / 221.7 MB, free: 14.25 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0005217/0.3209, allocations: 222.2 kB / 221.9 MB, free: 14.13 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.321, allocations: 0 / 221.9 MB, free: 14.13 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002605/0.3212, allocations: 166.4 kB / 222 MB, free: 14.03 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000594/0.3218, allocations: 50.08 kB / 222.1 MB, free: 14.02 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/0.323, allocations: 363.9 kB / 222.5 MB, free: 13.76 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003976/0.3234, allocations: 0.7413 MB / 223.2 MB, free: 13.04 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001381/0.3235, allocations: 59.16 kB / 223.3 MB, free: 13.02 MB / 186.7 MB Notification: Performance of SimCode: time 9.32e-07/0.3236, allocations: 0 / 223.3 MB, free: 13.02 MB / 186.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.853/3.177, allocations: 3.936 MB / 227.2 MB, free: 11.04 MB / 186.7 MB