Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="IBPSA_latest_IBPSA_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/Complex 4.0.0+maint.om/package.mo): time 0.00121/0.001211, allocations: 185.2 kB / 7.799 MB, free: 2.277 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4632/0.4632, allocations: 90.85 MB / 99.07 MB, free: 14.79 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 221.4 MB / 342.7 MB, free: 5.09 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 90.72 kB / 415.5 MB, free: 6.328 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1915/0.1927, allocations: 78.45 MB / 493.9 MB, free: 7.883 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4302/0.6229, allocations: 72.3 MB / 0.553 GB, free: 73.25 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.887/4.51, allocations: 1.826 GB / 2.379 GB, free: 236.3 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001934/4.51, allocations: 84.5 kB / 2.38 GB, free: 236.3 MB / 0.6042 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.209/7.719, allocations: 1.02 GB / 3.399 GB, free: 89.24 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/7.719, allocations: 15.42 kB / 3.399 GB, free: 89.24 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004712/7.724, allocations: 0.7633 MB / 3.4 GB, free: 89.16 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004314/7.728, allocations: 1.057 MB / 3.401 GB, free: 88.87 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.126e-05/7.728, allocations: 23.91 kB / 3.401 GB, free: 88.87 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003489/7.728, allocations: 51.66 kB / 3.401 GB, free: 88.87 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001895/7.73, allocations: 0.8983 MB / 3.402 GB, free: 88.86 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002036/7.732, allocations: 1.153 MB / 3.403 GB, free: 88.68 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.426e-05/7.732, allocations: 1.594 kB / 3.403 GB, free: 88.68 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001143/7.733, allocations: 4.281 kB / 3.403 GB, free: 88.68 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-05/7.733, allocations: 46.59 kB / 3.403 GB, free: 88.68 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009684/7.742, allocations: 5.154 MB / 3.408 GB, free: 86.25 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001512/7.744, allocations: 0.8822 MB / 3.409 GB, free: 86.22 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006625/7.744, allocations: 493.9 kB / 3.41 GB, free: 86.21 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0012/7.746, allocations: 0.9557 MB / 3.411 GB, free: 85.28 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008812/7.747, allocations: 0.5893 MB / 3.411 GB, free: 85.22 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=82): time 3.557e-06/7.747, allocations: 0 / 3.411 GB, free: 85.22 MB / 0.6198 GB Notification: Performance of matching and sorting (n=82): time 0.002954/7.75, allocations: 1.154 MB / 3.412 GB, free: 85.11 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.987e-05/7.75, allocations: 59.84 kB / 3.412 GB, free: 85.05 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00126/7.751, allocations: 0.8494 MB / 3.413 GB, free: 84.9 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001194/7.751, allocations: 28.89 kB / 3.413 GB, free: 84.87 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002896/7.751, allocations: 405.3 kB / 3.414 GB, free: 84.69 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002438/7.752, allocations: 276.4 kB / 3.414 GB, free: 84.52 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.229e-05/7.752, allocations: 0 / 3.414 GB, free: 84.52 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.849e-05/7.752, allocations: 342 kB / 3.414 GB, free: 84.21 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006265/7.752, allocations: 423.6 kB / 3.415 GB, free: 84.21 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007819/7.753, allocations: 0.7074 MB / 3.415 GB, free: 83.88 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007667/7.754, allocations: 481.6 kB / 3.416 GB, free: 83.87 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.822e-06/7.754, allocations: 3.906 kB / 3.416 GB, free: 83.87 MB / 0.6198 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.002117/7.756, allocations: 1.191 MB / 3.417 GB, free: 83.76 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/7.756, allocations: 5.938 kB / 3.417 GB, free: 83.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/7.756, allocations: 10.72 kB / 3.417 GB, free: 83.76 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.075e-05/7.756, allocations: 19 kB / 3.417 GB, free: 83.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001677/7.758, allocations: 324.8 kB / 3.417 GB, free: 83.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.262e-05/7.758, allocations: 15.5 kB / 3.417 GB, free: 83.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001631/7.76, allocations: 198.2 kB / 3.417 GB, free: 83.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001763/7.76, allocations: 58.22 kB / 3.418 GB, free: 83.71 MB / 0.6198 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.0002351/7.76, allocations: 141 kB / 3.418 GB, free: 83.61 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002638/7.76, allocations: 117.7 kB / 3.418 GB, free: 83.54 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002284/7.763, allocations: 1.216 MB / 3.419 GB, free: 83.48 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/7.763, allocations: 7.344 kB / 3.419 GB, free: 83.48 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/7.763, allocations: 0 / 3.419 GB, free: 83.48 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/7.763, allocations: 5.734 kB / 3.419 GB, free: 83.48 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004701/7.767, allocations: 2.628 MB / 3.422 GB, free: 83.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.874e-06/7.767, allocations: 3.906 kB / 3.422 GB, free: 83.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001496/7.769, allocations: 267.6 kB / 3.422 GB, free: 83.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.23e-05/7.769, allocations: 9.672 kB / 3.422 GB, free: 83.02 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001239/7.769, allocations: 25.75 kB / 3.422 GB, free: 83.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.418e-06/7.769, allocations: 11.75 kB / 3.422 GB, free: 83.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.77e-06/7.769, allocations: 7.562 kB / 3.422 GB, free: 83.02 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002915/7.772, allocations: 2.16 MB / 3.424 GB, free: 82.41 MB / 0.6198 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004093/7.776, allocations: 3.326 MB / 3.427 GB, free: 81.42 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006348/7.777, allocations: 324.3 kB / 3.427 GB, free: 81.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002918/7.777, allocations: 7.469 kB / 3.428 GB, free: 81.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00143/7.778, allocations: 151.9 kB / 3.428 GB, free: 81.25 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/7.779, allocations: 51.34 kB / 3.428 GB, free: 81.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001181/7.779, allocations: 42.34 kB / 3.428 GB, free: 81.25 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.0007715/7.779, allocations: 0.643 MB / 3.428 GB, free: 81.14 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.00266/7.782, allocations: 0.6667 MB / 3.429 GB, free: 81.09 MB / 0.6198 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.003163/7.785, allocations: 2.144 MB / 3.431 GB, free: 80.54 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001821/7.787, allocations: 1.037 MB / 3.432 GB, free: 80.52 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/7.787, allocations: 0 / 3.432 GB, free: 80.52 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0007919/7.788, allocations: 0.5441 MB / 3.433 GB, free: 80.52 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002194/7.79, allocations: 388.3 kB / 3.433 GB, free: 80.51 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004278/7.794, allocations: 2.07 MB / 3.435 GB, free: 79.95 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00124/7.796, allocations: 1.371 MB / 3.436 GB, free: 79.24 MB / 0.6198 GB Notification: Performance of SimCode: time 1.143e-06/7.796, allocations: 0 / 3.436 GB, free: 79.24 MB / 0.6198 GB (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)