Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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_Water,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_Water",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.001605/0.001605, allocations: 191.5 kB / 7.804 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4667/0.4667, allocations: 90.85 MB / 99.06 MB, free: 14.94 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.404/1.404, allocations: 221.4 MB / 342.8 MB, free: 5.215 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.001217/0.001217, allocations: 92.12 kB / 415.5 MB, free: 6.441 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2183/0.2195, allocations: 78.44 MB / 493.9 MB, free: 7.992 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4455/0.665, allocations: 72.3 MB / 0.553 GB, free: 73.35 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.479/5.144, allocations: 2.111 GB / 2.664 GB, free: 193.7 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002209/5.144, allocations: 79.95 kB / 2.664 GB, free: 193.7 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: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 1.818/6.962, allocations: 0.6013 GB / 3.265 GB, free: 54.23 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/6.962, allocations: 8 kB / 3.265 GB, free: 54.22 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003539/6.966, allocations: 0.6428 MB / 3.266 GB, free: 53.62 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002863/6.969, allocations: 0.9331 MB / 3.267 GB, free: 52.66 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.97e-05/6.969, allocations: 27.91 kB / 3.267 GB, free: 52.63 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002177/6.969, allocations: 44 kB / 3.267 GB, free: 52.59 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001181/6.97, allocations: 0.5662 MB / 3.267 GB, free: 52.02 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001234/6.971, allocations: 0.8315 MB / 3.268 GB, free: 51.11 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.24e-05/6.971, allocations: 0 / 3.268 GB, free: 51.11 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.186e-05/6.972, allocations: 4 kB / 3.268 GB, free: 51.11 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.031e-05/6.972, allocations: 33.3 kB / 3.268 GB, free: 51.07 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005485/6.977, allocations: 4.837 MB / 3.273 GB, free: 46.01 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009672/6.978, allocations: 0.5457 MB / 3.273 GB, free: 45.45 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000402/6.978, allocations: 298.2 kB / 3.274 GB, free: 45.16 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001015/6.98, allocations: 1.597 MB / 3.275 GB, free: 43.22 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005362/6.98, allocations: 380.1 kB / 3.276 GB, free: 42.84 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=61): time 3.457e-06/6.98, allocations: 0 / 3.276 GB, free: 42.84 MB / 0.6042 GB Notification: Performance of matching and sorting (n=61): time 0.001737/6.982, allocations: 0.706 MB / 3.276 GB, free: 42.12 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.629e-05/6.982, allocations: 59.91 kB / 3.276 GB, free: 42.05 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001111/6.983, allocations: 0.8344 MB / 3.277 GB, free: 41.2 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.423e-05/6.983, allocations: 29.7 kB / 3.277 GB, free: 41.17 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002198/6.983, allocations: 379.3 kB / 3.278 GB, free: 40.79 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001499/6.983, allocations: 201 kB / 3.278 GB, free: 40.59 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.431e-05/6.984, allocations: 0 / 3.278 GB, free: 40.59 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.412e-05/6.984, allocations: 338 kB / 3.278 GB, free: 40.25 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003874/6.984, allocations: 249.9 kB / 3.278 GB, free: 40.01 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005213/6.985, allocations: 0.5454 MB / 3.279 GB, free: 39.34 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008875/6.985, allocations: 346.9 kB / 3.279 GB, free: 39 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/6.985, allocations: 4 kB / 3.279 GB, free: 38.99 MB / 0.6042 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001826/6.987, allocations: 0.8855 MB / 3.28 GB, free: 38.1 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/6.987, allocations: 9.906 kB / 3.28 GB, free: 38.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/6.987, allocations: 8 kB / 3.28 GB, free: 38.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.341e-05/6.987, allocations: 12 kB / 3.28 GB, free: 38.07 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00127/6.989, allocations: 291.5 kB / 3.28 GB, free: 37.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.158e-05/6.989, allocations: 19.92 kB / 3.28 GB, free: 37.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00137/6.99, allocations: 189.1 kB / 3.281 GB, free: 37.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001327/6.99, allocations: 51.97 kB / 3.281 GB, free: 37.54 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (100): * Single equations (assignments): 100 * 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.0001724/6.99, allocations: 134.7 kB / 3.281 GB, free: 37.4 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001843/6.991, allocations: 114.6 kB / 3.281 GB, free: 37.29 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002226/6.993, allocations: 1.067 MB / 3.282 GB, free: 36.21 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.766e-05/6.993, allocations: 11.91 kB / 3.282 GB, free: 36.2 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/6.993, allocations: 3.984 kB / 3.282 GB, free: 36.2 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/6.993, allocations: 4 kB / 3.282 GB, free: 36.19 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003242/6.996, allocations: 1.992 MB / 3.284 GB, free: 34.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/6.996, allocations: 4.031 kB / 3.284 GB, free: 34.15 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0011/6.997, allocations: 207.8 kB / 3.284 GB, free: 33.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.565e-05/6.997, allocations: 6.625 kB / 3.284 GB, free: 33.95 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.38e-05/6.997, allocations: 23.97 kB / 3.284 GB, free: 33.92 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.54e-06/6.997, allocations: 4 kB / 3.284 GB, free: 33.92 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/6.997, allocations: 7.938 kB / 3.284 GB, free: 33.91 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002412/7, allocations: 1.521 MB / 3.286 GB, free: 32.32 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003024/7.003, allocations: 2.403 MB / 3.288 GB, free: 29.85 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005674/7.003, allocations: 291.4 kB / 3.288 GB, free: 29.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002487/7.004, allocations: 4 kB / 3.288 GB, free: 29.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00111/7.005, allocations: 139.9 kB / 3.288 GB, free: 29.4 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.363e-05/7.005, allocations: 48.48 kB / 3.288 GB, free: 29.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.569e-05/7.005, allocations: 35.97 kB / 3.288 GB, free: 29.32 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0008103/7.006, allocations: 0.6281 MB / 3.289 GB, free: 28.68 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002122/7.008, allocations: 442.3 kB / 3.29 GB, free: 28.25 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (76): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.001481/7.009, allocations: 0.7087 MB / 3.29 GB, free: 27.7 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001237/7.011, allocations: 0.7348 MB / 3.291 GB, free: 26.97 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/7.011, allocations: 4 kB / 3.291 GB, free: 26.97 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006217/7.011, allocations: 411.3 kB / 3.291 GB, free: 26.57 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001622/7.013, allocations: 320.3 kB / 3.292 GB, free: 26.27 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004151/7.017, allocations: 1.811 MB / 3.293 GB, free: 24.41 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001072/7.018, allocations: 1.287 MB / 3.295 GB, free: 23.1 MB / 0.6042 GB Notification: Performance of SimCode: time 8.22e-07/7.018, allocations: 3.938 kB / 3.295 GB, free: 23.1 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_Water_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_Water.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)