Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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_X_wSetOnly,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",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.157/2.157, allocations: 248.6 MB / 255.9 MB, free: 7.121 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.00242/0.00242, allocations: 187.2 kB / 315.1 MB, free: 4.281 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.948/1.948, allocations: 205.1 MB / 0.5658 GB, free: 400 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.00146/0.001459, allocations: 99.25 kB / 0.67 GB, free: 5.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4742/0.4757, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.6869, allocations: 106.2 MB / 0.8835 GB, free: 13.39 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.781/6.468, allocations: 2.186 GB / 3.07 GB, free: 182.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003033/6.468, allocations: 79.39 kB / 3.07 GB, free: 182.5 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.755/11.22, allocations: 0.9778 GB / 4.048 GB, free: 151.5 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/11.22, allocations: 7.844 kB / 4.048 GB, free: 151.5 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007827/11.23, allocations: 0.7686 MB / 4.048 GB, free: 151.4 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004859/11.24, allocations: 1.034 MB / 4.049 GB, free: 151 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.248e-05/11.24, allocations: 33.03 kB / 4.049 GB, free: 151 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003456/11.24, allocations: 57.5 kB / 4.049 GB, free: 151 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00318/11.24, allocations: 0.9411 MB / 4.05 GB, free: 151 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003109/11.24, allocations: 1.148 MB / 4.051 GB, free: 150.8 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.58e-05/11.24, allocations: 0 / 4.051 GB, free: 150.8 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00016/11.24, allocations: 10.97 kB / 4.051 GB, free: 150.8 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.33e-05/11.24, allocations: 47.97 kB / 4.051 GB, free: 150.8 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01427/11.26, allocations: 5.657 MB / 4.057 GB, free: 147.8 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00245/11.26, allocations: 0.8819 MB / 4.058 GB, free: 147.7 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001309/11.26, allocations: 0.4954 MB / 4.058 GB, free: 147.7 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001273/11.26, allocations: 0.5876 MB / 4.059 GB, free: 147.2 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00157/11.26, allocations: 0.583 MB / 4.06 GB, free: 147.1 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=80): time 5.15e-06/11.26, allocations: 3.938 kB / 4.06 GB, free: 147.1 MB / 0.9011 GB Notification: Performance of matching and sorting (n=80): time 0.004131/11.27, allocations: 1.091 MB / 4.061 GB, free: 147 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/11.27, allocations: 63.31 kB / 4.061 GB, free: 146.9 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001831/11.27, allocations: 0.8548 MB / 4.061 GB, free: 146.8 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0003293/11.27, allocations: 32.03 kB / 4.062 GB, free: 146.8 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004056/11.27, allocations: 420.9 kB / 4.062 GB, free: 146.5 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004517/11.27, allocations: 264 kB / 4.062 GB, free: 146.3 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/11.27, allocations: 3.906 kB / 4.062 GB, free: 146.3 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001039/11.27, allocations: 339.7 kB / 4.062 GB, free: 146 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001197/11.27, allocations: 420.5 kB / 4.063 GB, free: 146 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001474/11.27, allocations: 0.7402 MB / 4.064 GB, free: 145.7 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001468/11.28, allocations: 481.3 kB / 4.064 GB, free: 145.6 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.131e-05/11.28, allocations: 2.281 kB / 4.064 GB, free: 145.6 MB / 0.9011 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003762/11.28, allocations: 1.191 MB / 4.065 GB, free: 145.5 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/11.28, allocations: 10.62 kB / 4.065 GB, free: 145.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/11.28, allocations: 7.812 kB / 4.065 GB, free: 145.5 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.452e-05/11.28, allocations: 11.72 kB / 4.065 GB, free: 145.5 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003344/11.28, allocations: 328.7 kB / 4.066 GB, free: 145.5 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.165e-05/11.28, allocations: 22.5 kB / 4.066 GB, free: 145.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003332/11.29, allocations: 208.9 kB / 4.066 GB, free: 145.4 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003462/11.29, allocations: 57.38 kB / 4.066 GB, free: 145.4 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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.000378/11.29, allocations: 136.5 kB / 4.066 GB, free: 145.3 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003958/11.29, allocations: 119.6 kB / 4.066 GB, free: 145.2 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003941/11.29, allocations: 1.191 MB / 4.067 GB, free: 145.2 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.488e-05/11.29, allocations: 7.844 kB / 4.067 GB, free: 145.2 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/11.29, allocations: 3.906 kB / 4.067 GB, free: 145.2 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.317e-05/11.29, allocations: 10.17 kB / 4.067 GB, free: 145.2 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007517/11.3, allocations: 2.607 MB / 4.07 GB, free: 144.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.186e-05/11.3, allocations: 3.812 kB / 4.07 GB, free: 144.7 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00298/11.3, allocations: 261.2 kB / 4.07 GB, free: 144.7 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.175e-05/11.3, allocations: 7.812 kB / 4.07 GB, free: 144.7 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001964/11.3, allocations: 29.38 kB / 4.07 GB, free: 144.7 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.217e-05/11.3, allocations: 9.5 kB / 4.07 GB, free: 144.7 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.426e-06/11.3, allocations: 11.75 kB / 4.07 GB, free: 144.7 MB / 0.9011 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004902/11.31, allocations: 2.137 MB / 4.072 GB, free: 144.1 MB / 0.9011 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006954/11.32, allocations: 3.292 MB / 4.075 GB, free: 143.1 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001119/11.32, allocations: 324.1 kB / 4.076 GB, free: 142.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000388/11.32, allocations: 10.81 kB / 4.076 GB, free: 142.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002633/11.32, allocations: 148.4 kB / 4.076 GB, free: 142.9 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002055/11.32, allocations: 62.14 kB / 4.076 GB, free: 142.9 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000168/11.32, allocations: 46.7 kB / 4.076 GB, free: 142.9 MB / 0.9011 GB Notification: Performance of sort global known variables: time 0.001277/11.32, allocations: 0.6457 MB / 4.077 GB, free: 142.8 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.003988/11.33, allocations: 0.6684 MB / 4.077 GB, free: 142.7 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,heaCooUnl.Xi) * 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 (86): * Single equations (assignments): 80 * 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.004179/11.33, allocations: 2.118 MB / 4.079 GB, free: 142.1 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.003155/11.33, allocations: 1.042 MB / 4.08 GB, free: 142.1 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.148e-05/11.33, allocations: 0 / 4.08 GB, free: 142.1 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.001632/11.33, allocations: 0.5411 MB / 4.081 GB, free: 142.1 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004273/11.34, allocations: 414.7 kB / 4.081 GB, free: 142.1 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03241/11.37, allocations: 2.798 MB / 4.084 GB, free: 141.5 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002264/11.37, allocations: 1.366 MB / 4.085 GB, free: 140.8 MB / 0.9011 GB Notification: Performance of SimCode: time 1.623e-06/11.37, allocations: 4.719 kB / 4.085 GB, free: 140.8 MB / 0.9011 GB