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.103/1.103, allocations: 111.1 MB / 126.7 MB, free: 6.133 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002751/0.0002754, allocations: 8 kB / 158.4 MB, free: 15.08 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07152/0.07184, allocations: 25.17 MB / 183.6 MB, free: 5.871 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2879/0.3598, allocations: 36.6 MB / 220.2 MB, free: 5.691 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000222/0.36, allocations: 68.62 kB / 220.3 MB, free: 5.684 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01515/0.3752, allocations: 3.896 MB / 224.2 MB, free: 4.125 MB / 170.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.3753, allocations: 1.25 kB / 224.2 MB, free: 4.125 MB / 170.7 MB Notification: Performance of Transformations before backend: time 2.112e-05/0.3753, allocations: 7.641 kB / 224.2 MB, free: 4.125 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.001112/0.3764, allocations: 0.5075 MB / 224.7 MB, free: 3.676 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.3765, allocations: 11.97 kB / 224.7 MB, free: 3.672 MB / 170.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001095/0.3766, allocations: 62.39 kB / 224.7 MB, free: 3.625 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.95e-05/0.3767, allocations: 26.62 kB / 224.8 MB, free: 3.613 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002764/0.377, allocations: 225.1 kB / 225 MB, free: 3.387 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.377, allocations: 15.28 kB / 225 MB, free: 3.387 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.08e-05/0.3771, allocations: 21.94 kB / 225 MB, free: 3.387 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005968/0.3777, allocations: 227.6 kB / 225.2 MB, free: 3.297 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.154e-05/0.3777, allocations: 3.938 kB / 225.3 MB, free: 3.293 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.988e-05/0.3778, allocations: 14.02 kB / 225.3 MB, free: 3.289 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.3778, allocations: 3.719 kB / 225.3 MB, free: 3.289 MB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006473/0.3785, allocations: 168.2 kB / 225.4 MB, free: 3.262 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001685/0.3802, allocations: 0.8248 MB / 226.3 MB, free: 2.668 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005478/0.3808, allocations: 168.9 kB / 226.4 MB, free: 2.621 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000112/0.3809, allocations: 88.17 kB / 226.5 MB, free: 2.523 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/0.3809, allocations: 34.5 kB / 226.5 MB, free: 2.48 MB / 170.7 MB Notification: Performance of pre-optimization done (n=16): time 2.975e-06/0.3809, allocations: 0 / 226.5 MB, free: 2.48 MB / 170.7 MB Notification: Performance of matching and sorting (n=16): time 0.001253/0.3822, allocations: 353.4 kB / 226.9 MB, free: 2.293 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/0.3823, allocations: 67.02 kB / 227 MB, free: 2.219 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000177/0.3824, allocations: 154.2 kB / 227.1 MB, free: 2.109 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 2.632e-05/0.3825, allocations: 33.23 kB / 227.1 MB, free: 2.078 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.424e-05/0.3826, allocations: 200.3 kB / 227.3 MB, free: 1.902 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.257e-05/0.3826, allocations: 49.95 kB / 227.4 MB, free: 1.863 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.183e-05/0.3827, allocations: 7.219 kB / 227.4 MB, free: 1.863 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 5.932e-05/0.3827, allocations: 318.6 kB / 227.7 MB, free: 1.547 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000253/0.383, allocations: 61.34 kB / 227.8 MB, free: 1.535 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002412/0.3833, allocations: 85.86 kB / 227.8 MB, free: 1.492 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002428/0.3835, allocations: 68.3 kB / 227.9 MB, free: 1.48 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.3835, allocations: 0 / 227.9 MB, free: 1.48 MB / 170.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006923/0.3842, allocations: 218.2 kB / 228.1 MB, free: 1.398 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.3843, allocations: 3.812 kB / 228.1 MB, free: 1.398 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.3843, allocations: 4 kB / 228.1 MB, free: 1.395 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002561/0.3845, allocations: 31 kB / 228.2 MB, free: 1.383 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002604/0.3848, allocations: 38.97 kB / 228.2 MB, free: 1.371 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001226/0.3861, allocations: 1.375 MB / 229.6 MB, free: 60 kB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003634/0.3865, allocations: 47.28 kB / 229.6 MB, free: 40 kB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.907e-05/0.3865, allocations: 6.562 kB / 229.6 MB, free: 40 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.00021/0.3867, allocations: 125.3 kB / 229.7 MB, free: 15.93 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.85e-05/0.3868, allocations: 19.45 kB / 229.8 MB, free: 15.91 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007774/0.3876, allocations: 218.5 kB / 230 MB, free: 15.82 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.3876, allocations: 0 / 230 MB, free: 15.82 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.3876, allocations: 0 / 230 MB, free: 15.82 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.3876, allocations: 0 / 230 MB, free: 15.82 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001183/0.3888, allocations: 0.5314 MB / 230.5 MB, free: 15.44 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.3888, allocations: 1.312 kB / 230.5 MB, free: 15.44 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002795/0.3891, allocations: 30.14 kB / 230.5 MB, free: 15.43 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002078/0.3894, allocations: 34.14 kB / 230.6 MB, free: 15.41 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.109e-05/0.3894, allocations: 7.281 kB / 230.6 MB, free: 15.41 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001667/0.3911, allocations: 1.374 MB / 232 MB, free: 14.1 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.3911, allocations: 8 kB / 232 MB, free: 14.09 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001115/0.3923, allocations: 372.9 kB / 232.3 MB, free: 13.9 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001505/0.3924, allocations: 98.94 kB / 232.4 MB, free: 13.8 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.063e-05/0.3925, allocations: 4.938 kB / 232.4 MB, free: 13.8 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003635/0.3929, allocations: 32.59 kB / 232.5 MB, free: 13.78 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.421e-05/0.393, allocations: 20.03 kB / 232.5 MB, free: 13.76 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/0.393, allocations: 7.062 kB / 232.5 MB, free: 13.75 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001579/0.3932, allocations: 132.9 kB / 232.6 MB, free: 13.64 MB / 186.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.3932, allocations: 0 / 232.6 MB, free: 13.64 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0004939/0.3937, allocations: 66.09 kB / 232.7 MB, free: 13.58 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.001516/0.3952, allocations: 0.9103 MB / 233.6 MB, free: 12.71 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0008354/0.3961, allocations: 274.3 kB / 233.9 MB, free: 12.46 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.3961, allocations: 0 / 233.9 MB, free: 12.46 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004346/0.3966, allocations: 200.7 kB / 234.1 MB, free: 12.27 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007248/0.3973, allocations: 57.69 kB / 234.1 MB, free: 12.23 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00331/0.4006, allocations: 1.705 MB / 235.8 MB, free: 10.6 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004217/0.4011, allocations: 0.7401 MB / 236.6 MB, free: 9.836 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001516/0.4013, allocations: 56.28 kB / 236.6 MB, free: 9.812 MB / 186.7 MB Notification: Performance of SimCode: time 9.22e-07/0.4013, allocations: 0 / 236.6 MB, free: 9.812 MB / 186.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.829/3.23, allocations: 4.142 MB / 240.8 MB, free: 5.707 MB / 186.7 MB