Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",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.386/2.386, allocations: 248.6 MB / 255.9 MB, free: 7.113 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.001591/0.00159, allocations: 180.3 kB / 315.1 MB, free: 4.266 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.026/2.026, allocations: 205.1 MB / 0.5658 GB, free: 284 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.001363/0.001364, allocations: 87.27 kB / 0.67 GB, free: 5.484 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4937/0.4951, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2073/0.7024, allocations: 106.2 MB / 0.8835 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.662/6.364, allocations: 2.186 GB / 3.07 GB, free: 130.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003059/6.365, allocations: 84.39 kB / 3.07 GB, free: 130.6 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 4.662/11.03, allocations: 0.9777 GB / 4.047 GB, free: 140.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/11.03, allocations: 8 kB / 4.047 GB, free: 140.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007539/11.03, allocations: 0.763 MB / 4.048 GB, free: 139.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004463/11.04, allocations: 1.041 MB / 4.049 GB, free: 138.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.433e-05/11.04, allocations: 28 kB / 4.049 GB, free: 138.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002654/11.04, allocations: 59.98 kB / 4.049 GB, free: 138.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002904/11.04, allocations: 0.9762 MB / 4.05 GB, free: 137.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002641/11.05, allocations: 1.129 MB / 4.051 GB, free: 136.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.924e-05/11.05, allocations: 0 / 4.051 GB, free: 136.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001575/11.05, allocations: 3.906 kB / 4.051 GB, free: 136.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.596e-05/11.05, allocations: 49.98 kB / 4.051 GB, free: 136 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0115/11.06, allocations: 5.144 MB / 4.056 GB, free: 130.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002432/11.06, allocations: 0.8895 MB / 4.057 GB, free: 129.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001236/11.06, allocations: 490.6 kB / 4.058 GB, free: 129.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001748/11.06, allocations: 0.9506 MB / 4.059 GB, free: 128.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001458/11.06, allocations: 0.5963 MB / 4.059 GB, free: 127.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=82): time 5.811e-06/11.06, allocations: 0 / 4.059 GB, free: 127.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=82): time 0.007255/11.07, allocations: 1.156 MB / 4.06 GB, free: 126.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.258e-05/11.07, allocations: 60.06 kB / 4.06 GB, free: 126.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003071/11.07, allocations: 0.8518 MB / 4.061 GB, free: 125.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004695/11.07, allocations: 29.7 kB / 4.061 GB, free: 125.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005453/11.08, allocations: 415.7 kB / 4.062 GB, free: 125 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005263/11.08, allocations: 280 kB / 4.062 GB, free: 124.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001538/11.08, allocations: 0 / 4.062 GB, free: 124.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001398/11.08, allocations: 338 kB / 4.062 GB, free: 124.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001807/11.08, allocations: 421.8 kB / 4.063 GB, free: 124 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001945/11.08, allocations: 0.7249 MB / 4.063 GB, free: 123.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001354/11.08, allocations: 494.5 kB / 4.064 GB, free: 122.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.125e-05/11.08, allocations: 7.906 kB / 4.064 GB, free: 122.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003457/11.09, allocations: 1.196 MB / 4.065 GB, free: 121.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/11.09, allocations: 6.969 kB / 4.065 GB, free: 121.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.579e-05/11.09, allocations: 8 kB / 4.065 GB, free: 121.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.555e-05/11.09, allocations: 15.98 kB / 4.065 GB, free: 121.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003212/11.09, allocations: 326.9 kB / 4.065 GB, free: 121.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.029e-05/11.09, allocations: 17.34 kB / 4.065 GB, free: 121.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002942/11.09, allocations: 199.1 kB / 4.066 GB, free: 120.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002343/11.09, allocations: 59.95 kB / 4.066 GB, free: 120.8 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 117 * 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.0003546/11.09, allocations: 142.6 kB / 4.066 GB, free: 120.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003609/11.09, allocations: 118.5 kB / 4.066 GB, free: 120.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003988/11.1, allocations: 1.21 MB / 4.067 GB, free: 119.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.51e-05/11.1, allocations: 8 kB / 4.067 GB, free: 119.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/11.1, allocations: 0 / 4.067 GB, free: 119.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.438e-05/11.1, allocations: 3.984 kB / 4.067 GB, free: 119.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007474/11.1, allocations: 2.622 MB / 4.07 GB, free: 116.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.199e-05/11.1, allocations: 8.062 kB / 4.07 GB, free: 116.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002965/11.11, allocations: 255.6 kB / 4.07 GB, free: 116.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.502e-05/11.11, allocations: 11.98 kB / 4.07 GB, free: 116.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002078/11.11, allocations: 39.81 kB / 4.07 GB, free: 116.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.06e-05/11.11, allocations: 7.938 kB / 4.07 GB, free: 116.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.323e-06/11.11, allocations: 8 kB / 4.07 GB, free: 116.3 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004953/11.11, allocations: 2.163 MB / 4.072 GB, free: 114 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006932/11.12, allocations: 3.325 MB / 4.075 GB, free: 110.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001071/11.12, allocations: 331.2 kB / 4.076 GB, free: 110.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003695/11.12, allocations: 19.98 kB / 4.076 GB, free: 110.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002519/11.12, allocations: 135.9 kB / 4.076 GB, free: 110 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001778/11.12, allocations: 56.48 kB / 4.076 GB, free: 110 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000165/11.12, allocations: 47.95 kB / 4.076 GB, free: 109.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001222/11.12, allocations: 0.6407 MB / 4.077 GB, free: 109.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003814/11.13, allocations: 0.675 MB / 4.077 GB, free: 108.6 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.003613/11.13, allocations: 2.122 MB / 4.079 GB, free: 106.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003057/11.14, allocations: 1.044 MB / 4.08 GB, free: 105.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 8.336e-06/11.14, allocations: 4.062 kB / 4.08 GB, free: 105.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001454/11.14, allocations: 0.5333 MB / 4.081 GB, free: 105.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004034/11.14, allocations: 429.8 kB / 4.081 GB, free: 104.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007181/11.15, allocations: 2.074 MB / 4.083 GB, free: 102.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002095/11.15, allocations: 1.364 MB / 4.085 GB, free: 101.3 MB / 0.8698 GB Notification: Performance of SimCode: time 1.663e-06/11.15, allocations: 0 / 4.085 GB, free: 101.3 MB / 0.8698 GB