Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.SetPoints.Validation.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_SetPoints_Validation_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.443/2.443, allocations: 248.6 MB / 255.9 MB, free: 7.098 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002977/0.002977, allocations: 169.3 kB / 315.1 MB, free: 4.277 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.012/2.012, allocations: 205.1 MB / 0.5658 GB, free: 460 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001431/0.001431, allocations: 87.33 kB / 0.67 GB, free: 5.672 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5122/0.5137, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2544/0.7682, allocations: 106.2 MB / 0.8835 GB, free: 13.37 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6765/1.445, allocations: 132.2 MB / 1.013 GB, free: 8.062 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002859/1.445, allocations: 70.58 kB / 1.013 GB, free: 8.023 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.01719/1.462, allocations: 2.251 MB / 1.015 GB, free: 6.008 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.367e-05/1.462, allocations: 8 kB / 1.015 GB, free: 6 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001098/1.463, allocations: 23.56 kB / 1.015 GB, free: 5.98 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003078/1.463, allocations: 186.2 kB / 1.015 GB, free: 5.762 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.542e-05/1.463, allocations: 4 kB / 1.015 GB, free: 5.758 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.221e-05/1.463, allocations: 7.984 kB / 1.015 GB, free: 5.75 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000427/1.463, allocations: 66.92 kB / 1.015 GB, free: 5.707 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004298/1.464, allocations: 109.4 kB / 1.015 GB, free: 5.609 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/1.464, allocations: 7.938 kB / 1.015 GB, free: 5.602 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.253e-05/1.464, allocations: 0 / 1.015 GB, free: 5.602 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.218e-06/1.464, allocations: 0 / 1.015 GB, free: 5.602 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001837/1.466, allocations: 479.2 kB / 1.016 GB, free: 5.145 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007307/1.467, allocations: 117.3 kB / 1.016 GB, free: 5.039 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002459/1.467, allocations: 50.53 kB / 1.016 GB, free: 5 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.069e-05/1.467, allocations: 0 / 1.016 GB, free: 5 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003681/1.467, allocations: 116 kB / 1.016 GB, free: 4.887 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=12): time 4.338e-06/1.467, allocations: 0 / 1.016 GB, free: 4.887 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12): time 0.0006618/1.468, allocations: 110.7 kB / 1.016 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001247/1.468, allocations: 84.73 kB / 1.016 GB, free: 4.695 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002831/1.469, allocations: 143.6 kB / 1.016 GB, free: 4.559 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.98e-05/1.469, allocations: 25.7 kB / 1.016 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/1.469, allocations: 103.6 kB / 1.016 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.597e-05/1.469, allocations: 42.58 kB / 1.016 GB, free: 4.391 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.492e-05/1.469, allocations: 0 / 1.016 GB, free: 4.391 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001822/1.469, allocations: 322.5 kB / 1.017 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002244/1.469, allocations: 36.56 kB / 1.017 GB, free: 4.051 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002322/1.47, allocations: 50.91 kB / 1.017 GB, free: 4.012 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002182/1.47, allocations: 35.8 kB / 1.017 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/1.47, allocations: 0 / 1.017 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006636/1.471, allocations: 137.7 kB / 1.017 GB, free: 3.879 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.709e-05/1.471, allocations: 8 kB / 1.017 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/1.471, allocations: 4 kB / 1.017 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.2e-05/1.471, allocations: 0 / 1.017 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007024/1.471, allocations: 47.41 kB / 1.017 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.353e-05/1.471, allocations: 3.906 kB / 1.017 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005725/1.472, allocations: 27.97 kB / 1.017 GB, free: 3.793 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.557e-05/1.472, allocations: 4 kB / 1.017 GB, free: 3.789 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.TRoo1.T_start,TRoo1.T_start,$PRE.TRoo1.count,TRoo1.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002022/1.472, allocations: 112.8 kB / 1.017 GB, free: 3.672 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.279e-05/1.472, allocations: 11.91 kB / 1.017 GB, free: 3.66 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007601/1.473, allocations: 137.5 kB / 1.017 GB, free: 3.551 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-06/1.473, allocations: 3.938 kB / 1.017 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.824e-06/1.473, allocations: 4 kB / 1.017 GB, free: 3.543 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/1.473, allocations: 0 / 1.017 GB, free: 3.543 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004587/1.474, allocations: 203.6 kB / 1.018 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.714e-06/1.474, allocations: 4.188 kB / 1.018 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006258/1.474, allocations: 43.91 kB / 1.018 GB, free: 3.281 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.177e-05/1.475, allocations: 0 / 1.018 GB, free: 3.281 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.123e-05/1.475, allocations: 4 kB / 1.018 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/1.475, allocations: 0 / 1.018 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/1.475, allocations: 0 / 1.018 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006425/1.475, allocations: 165.6 kB / 1.018 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007267/1.476, allocations: 0.5297 MB / 1.018 GB, free: 2.586 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001152/1.476, allocations: 88.92 kB / 1.018 GB, free: 2.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/1.476, allocations: 7.984 kB / 1.018 GB, free: 2.473 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005542/1.477, allocations: 19.98 kB / 1.018 GB, free: 2.453 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000141/1.477, allocations: 18.91 kB / 1.018 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.237e-05/1.477, allocations: 11.28 kB / 1.018 GB, free: 2.43 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001883/1.477, allocations: 118.8 kB / 1.019 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001989/1.479, allocations: 31.94 kB / 1.019 GB, free: 2.297 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,TRoo1.T_start,TRoo1.count) * Number of discrete states: 1 (TRoo1.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003013/1.48, allocations: 107.9 kB / 1.019 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000593/1.48, allocations: 90.12 kB / 1.019 GB, free: 2.125 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/1.48, allocations: 0 / 1.019 GB, free: 2.125 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002877/1.481, allocations: 56.38 kB / 1.019 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008212/1.482, allocations: 43.62 kB / 1.019 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/1.483, allocations: 183.6 kB / 1.019 GB, free: 1.867 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006527/1.483, allocations: 0.7312 MB / 1.02 GB, free: 1.109 MB / 0.6355 GB Notification: Performance of SimCode: time 1.383e-06/1.483, allocations: 0 / 1.02 GB, free: 1.109 MB / 0.6355 GB