Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.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,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",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.289/2.289, allocations: 248.6 MB / 255.9 MB, free: 7.141 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.001669/0.001669, allocations: 180.2 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 1.936/1.936, allocations: 205.1 MB / 0.5658 GB, free: 456 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.001296/0.001296, allocations: 97.22 kB / 0.67 GB, free: 5.652 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.481/0.4824, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2077/0.6901, allocations: 106.3 MB / 0.8835 GB, free: 13.37 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.59/6.28, allocations: 2.186 GB / 3.07 GB, free: 182.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002684/6.281, allocations: 84.2 kB / 3.07 GB, free: 182.7 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 3.303/9.583, allocations: 0.6595 GB / 3.729 GB, free: 172.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/9.583, allocations: 9.453 kB / 3.729 GB, free: 172.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01312/9.597, allocations: 0.9786 MB / 3.73 GB, free: 172.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009737/9.606, allocations: 1.141 MB / 3.731 GB, free: 171.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.439e-05/9.606, allocations: 29.22 kB / 3.731 GB, free: 171.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004802/9.607, allocations: 61.67 kB / 3.731 GB, free: 171.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004123/9.611, allocations: 1.101 MB / 3.732 GB, free: 171.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003771/9.615, allocations: 1.16 MB / 3.734 GB, free: 171 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.961e-05/9.615, allocations: 0.7812 kB / 3.734 GB, free: 171 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001779/9.615, allocations: 5.969 kB / 3.734 GB, free: 171 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001421/9.615, allocations: 47.28 kB / 3.734 GB, free: 171 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0159/9.631, allocations: 4.886 MB / 3.738 GB, free: 167.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003036/9.634, allocations: 1.038 MB / 3.739 GB, free: 167.5 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001702/9.636, allocations: 0.5933 MB / 3.74 GB, free: 167.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001824/9.638, allocations: 0.9575 MB / 3.741 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001946/9.64, allocations: 0.6869 MB / 3.742 GB, free: 165.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=95): time 4.037e-06/9.64, allocations: 0 / 3.742 GB, free: 165.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=95): time 0.006162/9.646, allocations: 1.324 MB / 3.743 GB, free: 165.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.162e-05/9.646, allocations: 64.89 kB / 3.743 GB, free: 165.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002407/9.649, allocations: 0.8257 MB / 3.744 GB, free: 164.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.000437/9.649, allocations: 28.61 kB / 3.744 GB, free: 164.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003894/9.65, allocations: 381.1 kB / 3.744 GB, free: 164.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004731/9.65, allocations: 318.2 kB / 3.744 GB, free: 164.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001327/9.65, allocations: 0 / 3.744 GB, free: 164.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001068/9.65, allocations: 342.8 kB / 3.745 GB, free: 163.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001593/9.652, allocations: 495.9 kB / 3.745 GB, free: 163.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001819/9.654, allocations: 0.7343 MB / 3.746 GB, free: 163 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001703/9.656, allocations: 0.5217 MB / 3.746 GB, free: 162.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.979e-06/9.656, allocations: 3.938 kB / 3.746 GB, free: 162.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004427/9.66, allocations: 1.304 MB / 3.748 GB, free: 162.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/9.66, allocations: 8.312 kB / 3.748 GB, free: 162.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.879e-05/9.66, allocations: 4.844 kB / 3.748 GB, free: 162.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.278e-05/9.66, allocations: 13.09 kB / 3.748 GB, free: 162.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007503/9.668, allocations: 368.8 kB / 3.748 GB, free: 162 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.613e-05/9.668, allocations: 13.23 kB / 3.748 GB, free: 162 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006226/9.674, allocations: 238.2 kB / 3.748 GB, free: 161.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006696/9.675, allocations: 56.33 kB / 3.748 GB, free: 161.9 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (121): * Single equations (assignments): 121 * 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.0006614/9.675, allocations: 148.2 kB / 3.748 GB, free: 161.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007657/9.676, allocations: 118.4 kB / 3.749 GB, free: 161.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005235/9.681, allocations: 1.388 MB / 3.75 GB, free: 161 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.407e-05/9.682, allocations: 14 kB / 3.75 GB, free: 161 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.889e-06/9.682, allocations: 0 / 3.75 GB, free: 161 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.828e-05/9.682, allocations: 5.203 kB / 3.75 GB, free: 161 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0088/9.69, allocations: 2.924 MB / 3.753 GB, free: 158.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.197e-05/9.69, allocations: 4 kB / 3.753 GB, free: 158.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003793/9.694, allocations: 336.4 kB / 3.753 GB, free: 157.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-05/9.694, allocations: 8 kB / 3.753 GB, free: 157.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002096/9.695, allocations: 31.95 kB / 3.753 GB, free: 157.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.125e-05/9.695, allocations: 7.984 kB / 3.753 GB, free: 157.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.067e-05/9.695, allocations: 11.94 kB / 3.753 GB, free: 157.9 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005884/9.7, allocations: 2.436 MB / 3.756 GB, free: 155.3 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008449/9.709, allocations: 3.707 MB / 3.759 GB, free: 151.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001263/9.71, allocations: 351.2 kB / 3.76 GB, free: 151.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000459/9.711, allocations: 11.84 kB / 3.76 GB, free: 151.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003457/9.714, allocations: 180.7 kB / 3.76 GB, free: 150.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002552/9.715, allocations: 68.55 kB / 3.76 GB, free: 150.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002129/9.715, allocations: 51.52 kB / 3.76 GB, free: 150.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001255/9.716, allocations: 0.6279 MB / 3.76 GB, free: 150.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004246/9.72, allocations: 0.6962 MB / 3.761 GB, free: 149.5 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,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 (101): * Single equations (assignments): 95 * 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.004134/9.725, allocations: 2.129 MB / 3.763 GB, free: 147.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003693/9.728, allocations: 1.195 MB / 3.764 GB, free: 146.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 8.356e-06/9.728, allocations: 4.375 kB / 3.764 GB, free: 146.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001805/9.73, allocations: 0.6352 MB / 3.765 GB, free: 146 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004383/9.735, allocations: 437.3 kB / 3.765 GB, free: 145.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03167/9.766, allocations: 3.158 MB / 3.769 GB, free: 142.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002225/9.769, allocations: 1.413 MB / 3.77 GB, free: 140.9 MB / 0.8698 GB Notification: Performance of SimCode: time 1.793e-06/9.769, allocations: 0 / 3.77 GB, free: 140.9 MB / 0.8698 GB