Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.259/1.259, allocations: 249.4 MB / 256.7 MB, free: 7.023 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.00125/0.00125, allocations: 188.8 kB / 316 MB, free: 3.547 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.19/1.19, allocations: 205.2 MB / 0.5667 GB, free: 15.59 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009818/0.0009818, allocations: 101.7 kB / 0.671 GB, free: 4.711 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3071/0.3081, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.4619, allocations: 106.3 MB / 0.8846 GB, free: 12.53 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.522/3.984, allocations: 2.186 GB / 3.071 GB, free: 218.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002448/3.984, allocations: 83.83 kB / 3.071 GB, free: 218.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 2.791/6.775, allocations: 0.9777 GB / 4.049 GB, free: 174.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/6.775, allocations: 10.88 kB / 4.049 GB, free: 174.5 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004396/6.779, allocations: 0.7662 MB / 4.05 GB, free: 174.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003011/6.782, allocations: 1.047 MB / 4.051 GB, free: 174.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.328e-05/6.783, allocations: 28.94 kB / 4.051 GB, free: 174.1 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002882/6.783, allocations: 58.12 kB / 4.051 GB, free: 174.1 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001871/6.785, allocations: 0.9739 MB / 4.052 GB, free: 174.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001847/6.787, allocations: 1.131 MB / 4.053 GB, free: 173.9 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.377e-05/6.787, allocations: 3.594 kB / 4.053 GB, free: 173.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001016/6.787, allocations: 0 / 4.053 GB, free: 173.9 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-05/6.787, allocations: 55.33 kB / 4.053 GB, free: 173.9 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006998/6.794, allocations: 5.144 MB / 4.058 GB, free: 171.5 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001255/6.795, allocations: 0.8839 MB / 4.059 GB, free: 171.4 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006011/6.796, allocations: 490.7 kB / 4.059 GB, free: 171.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001084/6.797, allocations: 0.9569 MB / 4.06 GB, free: 170.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007387/6.798, allocations: 0.5913 MB / 4.061 GB, free: 170.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=82): time 2.725e-06/6.798, allocations: 0 / 4.061 GB, free: 170.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=82): time 0.00256/6.8, allocations: 1.154 MB / 4.062 GB, free: 170.3 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.566e-05/6.8, allocations: 73.95 kB / 4.062 GB, free: 170.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009768/6.801, allocations: 0.8546 MB / 4.063 GB, free: 170.1 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001061/6.801, allocations: 28.67 kB / 4.063 GB, free: 170.1 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002273/6.801, allocations: 408.6 kB / 4.063 GB, free: 169.9 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002177/6.802, allocations: 268.4 kB / 4.063 GB, free: 169.8 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.443e-05/6.802, allocations: 2.719 kB / 4.063 GB, free: 169.8 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 6.437e-05/6.802, allocations: 347.4 kB / 4.064 GB, free: 169.4 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005733/6.802, allocations: 422.6 kB / 4.064 GB, free: 169.4 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007215/6.803, allocations: 0.7318 MB / 4.065 GB, free: 169.1 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006697/6.804, allocations: 487.9 kB / 4.065 GB, free: 169.1 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/6.804, allocations: 3.281 kB / 4.065 GB, free: 169.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001759/6.806, allocations: 1.196 MB / 4.066 GB, free: 169 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/6.806, allocations: 5.625 kB / 4.066 GB, free: 169 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/6.806, allocations: 6.938 kB / 4.066 GB, free: 169 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/6.806, allocations: 13.84 kB / 4.066 GB, free: 169 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001551/6.807, allocations: 323.4 kB / 4.067 GB, free: 169 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.524e-05/6.807, allocations: 18.67 kB / 4.067 GB, free: 169 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001517/6.809, allocations: 198.5 kB / 4.067 GB, free: 168.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001419/6.809, allocations: 58.7 kB / 4.067 GB, free: 168.9 MB / 0.8855 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.0002235/6.809, allocations: 142.4 kB / 4.067 GB, free: 168.8 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002072/6.809, allocations: 118.7 kB / 4.067 GB, free: 168.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001962/6.811, allocations: 1.215 MB / 4.068 GB, free: 168.7 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/6.811, allocations: 11.12 kB / 4.068 GB, free: 168.7 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/6.811, allocations: 6.969 kB / 4.068 GB, free: 168.7 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/6.811, allocations: 3.516 kB / 4.068 GB, free: 168.7 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003936/6.815, allocations: 2.62 MB / 4.071 GB, free: 168.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/6.815, allocations: 6.656 kB / 4.071 GB, free: 168.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001478/6.817, allocations: 268.5 kB / 4.071 GB, free: 168.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.832e-05/6.817, allocations: 11.41 kB / 4.071 GB, free: 168.3 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00011/6.817, allocations: 30.64 kB / 4.071 GB, free: 168.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.916e-06/6.817, allocations: 3.75 kB / 4.071 GB, free: 168.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/6.817, allocations: 10.75 kB / 4.071 GB, free: 168.3 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0026/6.82, allocations: 2.16 MB / 4.073 GB, free: 167.6 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003575/6.823, allocations: 3.325 MB / 4.077 GB, free: 166.7 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005652/6.824, allocations: 327.8 kB / 4.077 GB, free: 166.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00026/6.824, allocations: 16.72 kB / 4.077 GB, free: 166.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001308/6.825, allocations: 135.4 kB / 4.077 GB, free: 166.5 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/6.825, allocations: 58.3 kB / 4.077 GB, free: 166.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.745e-05/6.826, allocations: 41.06 kB / 4.077 GB, free: 166.5 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.0007683/6.826, allocations: 0.6522 MB / 4.078 GB, free: 166.4 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002442/6.829, allocations: 0.675 MB / 4.079 GB, free: 166.3 MB / 0.8855 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.002583/6.831, allocations: 2.125 MB / 4.081 GB, free: 165.7 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001565/6.833, allocations: 1.046 MB / 4.082 GB, free: 165.7 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/6.833, allocations: 0 / 4.082 GB, free: 165.7 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0007951/6.834, allocations: 0.5386 MB / 4.082 GB, free: 165.7 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001972/6.836, allocations: 414 kB / 4.083 GB, free: 165.7 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004019/6.84, allocations: 2.071 MB / 4.085 GB, free: 165.2 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001308/6.841, allocations: 1.377 MB / 4.086 GB, free: 164.4 MB / 0.8855 GB Notification: Performance of SimCode: time 5.41e-07/6.841, allocations: 0 / 4.086 GB, free: 164.4 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)