Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") translateModel(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") [: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.00108/0.00108, allocations: 180.2 kB / 7.799 MB, free: 2.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4468/0.4468, allocations: 90.85 MB / 99.08 MB, free: 14.96 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.309/1.309, allocations: 221.4 MB / 342.8 MB, free: 5.27 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.001081/0.001081, allocations: 102.6 kB / 415.5 MB, free: 6.445 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 7.203e-06/7.243e-06, allocations: 0 / 493.9 MB, free: 8.094 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4006/0.4006, allocations: 72.3 MB / 0.5529 GB, free: 73.35 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.868/4.268, allocations: 1.826 GB / 2.379 GB, free: 236.3 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002573/4.269, allocations: 85.14 kB / 2.379 GB, free: 236.3 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.058/7.327, allocations: 1.018 GB / 3.398 GB, free: 89.71 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001113/7.327, allocations: 47.59 kB / 3.398 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.006789/7.334, allocations: 1.883 MB / 3.399 GB, free: 88.98 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/7.334, allocations: 8.906 kB / 3.399 GB, free: 88.98 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004401/7.338, allocations: 0.7579 MB / 3.4 GB, free: 88.9 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00336/7.342, allocations: 1.061 MB / 3.401 GB, free: 88.61 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.84e-05/7.342, allocations: 28.75 kB / 3.401 GB, free: 88.61 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001635/7.342, allocations: 51.44 kB / 3.401 GB, free: 88.61 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00184/7.344, allocations: 0.8537 MB / 3.402 GB, free: 88.61 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001772/7.346, allocations: 1.164 MB / 3.403 GB, free: 88.37 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.718e-05/7.346, allocations: 5.219 kB / 3.403 GB, free: 88.37 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/7.346, allocations: 14.36 kB / 3.403 GB, free: 88.37 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.323e-05/7.346, allocations: 37.3 kB / 3.403 GB, free: 88.37 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008566/7.354, allocations: 5.683 MB / 3.409 GB, free: 85.46 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001254/7.356, allocations: 0.8725 MB / 3.41 GB, free: 85.43 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006061/7.356, allocations: 0.4906 MB / 3.41 GB, free: 85.42 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007855/7.357, allocations: 0.5873 MB / 3.411 GB, free: 84.86 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007584/7.358, allocations: 0.5851 MB / 3.411 GB, free: 84.8 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=80): time 5.23e-06/7.358, allocations: 2.812 kB / 3.411 GB, free: 84.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=80): time 0.002341/7.36, allocations: 1.08 MB / 3.412 GB, free: 84.7 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.187e-05/7.36, allocations: 63 kB / 3.412 GB, free: 84.63 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009899/7.361, allocations: 0.8503 MB / 3.413 GB, free: 84.48 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.257e-05/7.361, allocations: 31.42 kB / 3.413 GB, free: 84.45 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002697/7.362, allocations: 414.2 kB / 3.414 GB, free: 84.25 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002118/7.362, allocations: 271.3 kB / 3.414 GB, free: 84.08 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.311e-05/7.362, allocations: 0 / 3.414 GB, free: 84.08 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.937e-05/7.362, allocations: 339.1 kB / 3.414 GB, free: 83.77 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005572/7.363, allocations: 422.9 kB / 3.415 GB, free: 83.77 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007064/7.363, allocations: 0.7213 MB / 3.415 GB, free: 83.43 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006759/7.364, allocations: 484.1 kB / 3.416 GB, free: 83.42 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/7.364, allocations: 3.938 kB / 3.416 GB, free: 83.42 MB / 0.6198 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001722/7.366, allocations: 1.183 MB / 3.417 GB, free: 83.31 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/7.366, allocations: 3.625 kB / 3.417 GB, free: 83.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/7.366, allocations: 9.234 kB / 3.417 GB, free: 83.31 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.668e-05/7.366, allocations: 21.2 kB / 3.417 GB, free: 83.31 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001616/7.367, allocations: 321.2 kB / 3.417 GB, free: 83.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.541e-05/7.367, allocations: 22.67 kB / 3.417 GB, free: 83.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001481/7.369, allocations: 192.2 kB / 3.418 GB, free: 83.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001337/7.369, allocations: 57.89 kB / 3.418 GB, free: 83.27 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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.0002307/7.369, allocations: 157.1 kB / 3.418 GB, free: 83.15 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000176/7.369, allocations: 118.4 kB / 3.418 GB, free: 83.09 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0021/7.372, allocations: 1.188 MB / 3.419 GB, free: 83.02 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.878e-06/7.372, allocations: 7.156 kB / 3.419 GB, free: 83.02 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/7.372, allocations: 0 / 3.419 GB, free: 83.02 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.241e-05/7.372, allocations: 6.938 kB / 3.419 GB, free: 83.02 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003888/7.376, allocations: 2.604 MB / 3.422 GB, free: 82.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/7.376, allocations: 3.906 kB / 3.422 GB, free: 82.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001416/7.377, allocations: 265.2 kB / 3.422 GB, free: 82.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.211e-05/7.377, allocations: 9.75 kB / 3.422 GB, free: 82.57 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.164e-05/7.377, allocations: 25.03 kB / 3.422 GB, free: 82.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.584e-06/7.377, allocations: 10.84 kB / 3.422 GB, free: 82.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/7.377, allocations: 10.47 kB / 3.422 GB, free: 82.57 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002495/7.38, allocations: 2.132 MB / 3.424 GB, free: 81.96 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005624/7.38, allocations: 334.1 kB / 3.424 GB, free: 81.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002194/7.38, allocations: 9.875 kB / 3.424 GB, free: 81.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001258/7.382, allocations: 145.3 kB / 3.424 GB, free: 81.79 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/7.382, allocations: 61.89 kB / 3.425 GB, free: 81.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.339e-05/7.382, allocations: 38.86 kB / 3.425 GB, free: 81.79 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.0007288/7.383, allocations: 0.6441 MB / 3.425 GB, free: 81.68 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001657/7.384, allocations: 463.2 kB / 3.426 GB, free: 81.64 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,heaCooUnl.Xi) * 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 (86): * Single equations (assignments): 80 * 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.002839/7.387, allocations: 2.129 MB / 3.428 GB, free: 81.08 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001824/7.389, allocations: 1.04 MB / 3.429 GB, free: 81.07 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 8.145e-06/7.389, allocations: 7.312 kB / 3.429 GB, free: 81.07 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0007472/7.39, allocations: 0.5392 MB / 3.429 GB, free: 81.07 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002083/7.392, allocations: 403.1 kB / 3.43 GB, free: 81.05 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01597/7.408, allocations: 2.78 MB / 3.432 GB, free: 80.5 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001385/7.409, allocations: 1.365 MB / 3.434 GB, free: 79.79 MB / 0.6198 GB Notification: Performance of SimCode: time 1.353e-06/7.409, allocations: 0 / 3.434 GB, free: 79.79 MB / 0.6198 GB Notification: Performance of Templates: time 0.04634/7.456, allocations: 30.31 MB / 3.463 GB, free: 67.4 MB / 0.6198 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)