Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="Buildings_9_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.217/2.217, allocations: 387.2 MB / 394.5 MB, free: 13.72 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 188.6 kB / 487 MB, free: 5.402 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 221.3 MB / 0.7819 GB, free: 1.48 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 93.83 kB / 0.9213 GB, free: 2.734 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.5984/0.5994, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2906/0.89, allocations: 142.3 MB / 1.205 GB, free: 26.2 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.452/5.342, allocations: 1.873 GB / 3.078 GB, free: 433 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002696/5.342, allocations: 85.2 kB / 3.078 GB, free: 433 MB / 1.151 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 3.27/8.612, allocations: 1.02 GB / 4.098 GB, free: 263.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.711e-05/8.612, allocations: 9.875 kB / 4.098 GB, free: 263.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00518/8.617, allocations: 0.7721 MB / 4.099 GB, free: 263.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004167/8.622, allocations: 1.06 MB / 4.1 GB, free: 262.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.415e-05/8.622, allocations: 28.98 kB / 4.1 GB, free: 262.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002305/8.622, allocations: 50.03 kB / 4.1 GB, free: 262.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002147/8.624, allocations: 0.8873 MB / 4.101 GB, free: 262.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002117/8.626, allocations: 1.157 MB / 4.102 GB, free: 261.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.436e-05/8.626, allocations: 5.25 kB / 4.102 GB, free: 261.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001003/8.626, allocations: 1.281 kB / 4.102 GB, free: 261.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.368e-05/8.626, allocations: 42.94 kB / 4.102 GB, free: 261.7 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009172/8.636, allocations: 5.153 MB / 4.107 GB, free: 257.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001806/8.637, allocations: 0.8864 MB / 4.108 GB, free: 257.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008275/8.638, allocations: 493.5 kB / 4.109 GB, free: 257.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001322/8.64, allocations: 0.9549 MB / 4.11 GB, free: 256.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008726/8.64, allocations: 0.5891 MB / 4.11 GB, free: 255.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=82): time 3.606e-06/8.641, allocations: 7.078 kB / 4.11 GB, free: 255.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=82): time 0.002741/8.643, allocations: 1.15 MB / 4.111 GB, free: 255.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.352e-05/8.643, allocations: 59.47 kB / 4.111 GB, free: 255.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001047/8.644, allocations: 0.8468 MB / 4.112 GB, free: 254.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.594e-05/8.644, allocations: 32.83 kB / 4.112 GB, free: 254.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002978/8.645, allocations: 411.9 kB / 4.113 GB, free: 254.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002378/8.645, allocations: 272.5 kB / 4.113 GB, free: 254.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.992e-05/8.645, allocations: 0 / 4.113 GB, free: 254.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.000101/8.645, allocations: 346.9 kB / 4.113 GB, free: 253.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005932/8.646, allocations: 420.3 kB / 4.114 GB, free: 253.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009023/8.647, allocations: 0.7041 MB / 4.114 GB, free: 253 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008923/8.648, allocations: 478.2 kB / 4.115 GB, free: 252.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.555e-06/8.648, allocations: 3.875 kB / 4.115 GB, free: 252.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.002298/8.65, allocations: 1.191 MB / 4.116 GB, free: 252.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/8.65, allocations: 5.031 kB / 4.116 GB, free: 252.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.754e-05/8.65, allocations: 7.812 kB / 4.116 GB, free: 252.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.669e-05/8.65, allocations: 12.16 kB / 4.116 GB, free: 252.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001878/8.652, allocations: 330.5 kB / 4.116 GB, free: 252.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.701e-05/8.652, allocations: 14 kB / 4.116 GB, free: 252.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001658/8.654, allocations: 199.2 kB / 4.116 GB, free: 252.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001777/8.654, allocations: 66.8 kB / 4.117 GB, free: 252 MB / 1.151 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.0002419/8.654, allocations: 137.3 kB / 4.117 GB, free: 251.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002265/8.654, allocations: 121.1 kB / 4.117 GB, free: 251.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002617/8.657, allocations: 1.217 MB / 4.118 GB, free: 251.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.676e-05/8.657, allocations: 9.5 kB / 4.118 GB, free: 251.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/8.657, allocations: 0 / 4.118 GB, free: 251.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.42e-05/8.657, allocations: 3.984 kB / 4.118 GB, free: 251.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005209/8.662, allocations: 2.626 MB / 4.121 GB, free: 249.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-05/8.662, allocations: 6.031 kB / 4.121 GB, free: 249.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00155/8.664, allocations: 264.5 kB / 4.121 GB, free: 249.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.938e-05/8.664, allocations: 6.781 kB / 4.121 GB, free: 249.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000165/8.664, allocations: 32.8 kB / 4.121 GB, free: 249.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.22e-05/8.664, allocations: 10.88 kB / 4.121 GB, free: 249.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.785e-06/8.664, allocations: 8.062 kB / 4.121 GB, free: 249.5 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003344/8.667, allocations: 2.158 MB / 4.123 GB, free: 248.1 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005773/8.673, allocations: 3.321 MB / 4.126 GB, free: 245.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008011/8.674, allocations: 334.2 kB / 4.127 GB, free: 245.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002451/8.674, allocations: 11.2 kB / 4.127 GB, free: 245.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00146/8.676, allocations: 138.5 kB / 4.127 GB, free: 245.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001873/8.676, allocations: 67.89 kB / 4.127 GB, free: 245.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001267/8.676, allocations: 38.53 kB / 4.127 GB, free: 245.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.00112/8.677, allocations: 0.6406 MB / 4.127 GB, free: 245.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003043/8.68, allocations: 0.6648 MB / 4.128 GB, free: 244.9 MB / 1.151 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.004349/8.685, allocations: 2.137 MB / 4.13 GB, free: 244.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00248/8.687, allocations: 1.036 MB / 4.131 GB, free: 243.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/8.687, allocations: 6.5 kB / 4.131 GB, free: 243.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0009234/8.688, allocations: 0.5441 MB / 4.132 GB, free: 243.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00238/8.69, allocations: 388.8 kB / 4.132 GB, free: 242.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004464/8.695, allocations: 2.066 MB / 4.134 GB, free: 240.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001282/8.696, allocations: 1.371 MB / 4.135 GB, free: 239.4 MB / 1.151 GB Notification: Performance of SimCode: time 6.61e-07/8.696, allocations: 0 / 4.135 GB, free: 239.4 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)