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: translateModel(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly") translateModel(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly") [: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.001786/0.001787, allocations: 192.2 kB / 7.807 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4552/0.4552, allocations: 90.86 MB / 99.08 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.376/1.376, allocations: 221.3 MB / 342.8 MB, free: 5.281 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.001047/0.001047, allocations: 94.52 kB / 415.5 MB, free: 6.445 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 7.624e-06/7.665e-06, allocations: 0 / 493.9 MB, free: 8.109 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4585/0.4585, allocations: 72.3 MB / 0.5529 GB, free: 73.4 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.629/4.088, allocations: 1.826 GB / 2.379 GB, free: 236.4 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001923/4.088, allocations: 84.16 kB / 2.379 GB, free: 236.4 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.969/7.057, allocations: 1.018 GB / 3.397 GB, free: 89.71 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001084/7.057, allocations: 38.98 kB / 3.397 GB, free: 89.7 MB / 0.6198 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 0.007006/7.064, allocations: 1.878 MB / 3.399 GB, free: 88.98 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/7.064, allocations: 7.688 kB / 3.399 GB, free: 88.98 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004391/7.069, allocations: 0.7692 MB / 3.4 GB, free: 88.9 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003535/7.072, allocations: 1.056 MB / 3.401 GB, free: 88.61 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.425e-05/7.072, allocations: 26.45 kB / 3.401 GB, free: 88.61 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001817/7.072, allocations: 50.75 kB / 3.401 GB, free: 88.61 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001757/7.074, allocations: 0.8856 MB / 3.402 GB, free: 88.61 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001737/7.076, allocations: 1.162 MB / 3.403 GB, free: 88.42 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.578e-05/7.076, allocations: 4.688 kB / 3.403 GB, free: 88.42 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.427e-05/7.076, allocations: 0 / 3.403 GB, free: 88.42 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.208e-05/7.076, allocations: 42.73 kB / 3.403 GB, free: 88.42 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007927/7.084, allocations: 5.156 MB / 3.408 GB, free: 86 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0014/7.085, allocations: 0.8853 MB / 3.409 GB, free: 85.97 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006445/7.086, allocations: 490.7 kB / 3.41 GB, free: 85.96 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001117/7.087, allocations: 0.9545 MB / 3.411 GB, free: 85.03 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007961/7.088, allocations: 0.5893 MB / 3.411 GB, free: 84.97 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=82): time 3.316e-06/7.088, allocations: 1.25 kB / 3.411 GB, free: 84.97 MB / 0.6198 GB Notification: Performance of matching and sorting (n=82): time 0.002624/7.091, allocations: 1.152 MB / 3.412 GB, free: 84.86 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.812e-05/7.091, allocations: 59.78 kB / 3.412 GB, free: 84.8 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009568/7.092, allocations: 0.8486 MB / 3.413 GB, free: 84.65 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.278e-05/7.092, allocations: 28.17 kB / 3.413 GB, free: 84.62 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002648/7.092, allocations: 410.8 kB / 3.414 GB, free: 84.43 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002111/7.092, allocations: 270.7 kB / 3.414 GB, free: 84.26 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.658e-05/7.092, allocations: 0 / 3.414 GB, free: 84.26 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.418e-05/7.092, allocations: 346.8 kB / 3.414 GB, free: 83.95 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000563/7.093, allocations: 423.8 kB / 3.415 GB, free: 83.95 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007228/7.094, allocations: 0.7059 MB / 3.415 GB, free: 83.62 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006437/7.094, allocations: 483.8 kB / 3.416 GB, free: 83.61 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/7.094, allocations: 11.78 kB / 3.416 GB, free: 83.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.002071/7.096, allocations: 1.186 MB / 3.417 GB, free: 83.5 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/7.097, allocations: 3.594 kB / 3.417 GB, free: 83.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/7.097, allocations: 7.344 kB / 3.417 GB, free: 83.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.705e-05/7.097, allocations: 18.22 kB / 3.417 GB, free: 83.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001958/7.099, allocations: 327.9 kB / 3.417 GB, free: 83.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.478e-05/7.099, allocations: 11.25 kB / 3.417 GB, free: 83.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001788/7.1, allocations: 197.6 kB / 3.417 GB, free: 83.46 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001598/7.101, allocations: 61.8 kB / 3.417 GB, free: 83.46 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.0002474/7.101, allocations: 142.3 kB / 3.418 GB, free: 83.34 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001914/7.101, allocations: 116.3 kB / 3.418 GB, free: 83.28 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002302/7.103, allocations: 1.216 MB / 3.419 GB, free: 83.21 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/7.103, allocations: 11.66 kB / 3.419 GB, free: 83.21 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/7.103, allocations: 0 / 3.419 GB, free: 83.21 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.537e-06/7.103, allocations: 3.844 kB / 3.419 GB, free: 83.21 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003831/7.107, allocations: 2.631 MB / 3.421 GB, free: 82.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/7.107, allocations: 3.938 kB / 3.421 GB, free: 82.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001433/7.109, allocations: 262.4 kB / 3.422 GB, free: 82.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.053e-05/7.109, allocations: 10.12 kB / 3.422 GB, free: 82.75 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.486e-05/7.109, allocations: 28.14 kB / 3.422 GB, free: 82.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.675e-06/7.109, allocations: 11.62 kB / 3.422 GB, free: 82.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/7.109, allocations: 7.469 kB / 3.422 GB, free: 82.75 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002415/7.111, allocations: 2.16 MB / 3.424 GB, free: 82.14 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005062/7.112, allocations: 325.1 kB / 3.424 GB, free: 81.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002214/7.112, allocations: 13.69 kB / 3.424 GB, free: 81.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00126/7.113, allocations: 137.7 kB / 3.424 GB, free: 81.98 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001263/7.113, allocations: 63.22 kB / 3.424 GB, free: 81.97 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.975e-05/7.113, allocations: 43.81 kB / 3.424 GB, free: 81.97 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.0007147/7.114, allocations: 0.6443 MB / 3.425 GB, free: 81.86 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001479/7.116, allocations: 450.3 kB / 3.425 GB, free: 81.83 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.002652/7.118, allocations: 2.141 MB / 3.428 GB, free: 81.27 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001534/7.12, allocations: 1.039 MB / 3.429 GB, free: 81.25 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.145e-06/7.12, allocations: 0 / 3.429 GB, free: 81.25 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0006933/7.121, allocations: 0.5449 MB / 3.429 GB, free: 81.25 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001869/7.122, allocations: 398.8 kB / 3.429 GB, free: 81.23 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00393/7.126, allocations: 2.062 MB / 3.432 GB, free: 80.69 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001143/7.128, allocations: 1.366 MB / 3.433 GB, free: 79.97 MB / 0.6198 GB Notification: Performance of SimCode: time 8.42e-07/7.128, allocations: 0 / 3.433 GB, free: 79.97 MB / 0.6198 GB Notification: Performance of Templates: time 0.0468/7.174, allocations: 30.66 MB / 3.463 GB, free: 67.99 MB / 0.6198 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.makefile (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 & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)