Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0/package.mo): time 0.7863/0.7863, allocations: 127.4 MB / 134.6 MB, free: 4.09 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001405/0.001404, allocations: 189.2 kB / 164.4 MB, free: 6.895 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.12/2.12, allocations: 205.1 MB / 399.1 MB, free: 6.098 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001369/0.001369, allocations: 93.64 kB / 476.3 MB, free: 8.852 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.056e-05/1.059e-05, allocations: 4 kB / 0.546 GB, free: 42.77 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.214/0.214, allocations: 76.75 MB / 0.6209 GB, free: 13.95 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.421/5.636, allocations: 2.143 GB / 2.764 GB, free: 70.05 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002647/5.636, allocations: 85.5 kB / 2.764 GB, free: 69.97 MB / 0.6355 GB Notification: Performance of FrontEnd: time 4.163/9.799, allocations: 1.002 GB / 3.766 GB, free: 43.44 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0002414/9.799, allocations: 47.86 kB / 3.766 GB, free: 43.39 MB / 0.6511 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.008198/9.808, allocations: 1.746 MB / 3.768 GB, free: 41.59 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/9.808, allocations: 8.031 kB / 3.768 GB, free: 41.58 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005229/9.813, allocations: 0.763 MB / 3.769 GB, free: 40.82 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004359/9.817, allocations: 1.036 MB / 3.77 GB, free: 39.72 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.607e-05/9.817, allocations: 28 kB / 3.77 GB, free: 39.7 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004597/9.818, allocations: 59.94 kB / 3.77 GB, free: 39.64 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002262/9.82, allocations: 0.9489 MB / 3.771 GB, free: 38.69 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002277/9.822, allocations: 1.143 MB / 3.772 GB, free: 37.47 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.783e-05/9.823, allocations: 7.844 kB / 3.772 GB, free: 37.46 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001104/9.823, allocations: 8 kB / 3.772 GB, free: 37.45 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.722e-05/9.823, allocations: 53.95 kB / 3.772 GB, free: 37.4 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009162/9.832, allocations: 5.657 MB / 3.777 GB, free: 31.48 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001358/9.833, allocations: 0.9213 MB / 3.778 GB, free: 30.55 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006742/9.834, allocations: 0.4941 MB / 3.779 GB, free: 30.06 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009222/9.835, allocations: 0.5773 MB / 3.779 GB, free: 29.38 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008824/9.836, allocations: 0.5847 MB / 3.78 GB, free: 28.77 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=79): time 3.857e-06/9.836, allocations: 4 kB / 3.78 GB, free: 28.77 MB / 0.6511 GB Notification: Performance of matching and sorting (n=79): time 0.002793/9.839, allocations: 1.08 MB / 3.781 GB, free: 27.68 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.52e-05/9.839, allocations: 64 kB / 3.781 GB, free: 27.61 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001547/9.84, allocations: 0.8635 MB / 3.782 GB, free: 26.73 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.000151/9.84, allocations: 29.7 kB / 3.782 GB, free: 26.69 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003514/9.841, allocations: 415.6 kB / 3.782 GB, free: 26.28 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002897/9.841, allocations: 260.2 kB / 3.782 GB, free: 26.02 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.055e-05/9.841, allocations: 4 kB / 3.782 GB, free: 26.02 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001127/9.841, allocations: 341.8 kB / 3.783 GB, free: 25.68 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006384/9.842, allocations: 421.8 kB / 3.783 GB, free: 25.27 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000806/9.843, allocations: 0.7345 MB / 3.784 GB, free: 24.39 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007947/9.844, allocations: 474.9 kB / 3.784 GB, free: 23.92 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.845e-06/9.844, allocations: 4 kB / 3.784 GB, free: 23.92 MB / 0.6511 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.002216/9.846, allocations: 1.19 MB / 3.786 GB, free: 22.72 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/9.846, allocations: 6.5 kB / 3.786 GB, free: 22.72 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/9.846, allocations: 8 kB / 3.786 GB, free: 22.71 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.009e-05/9.846, allocations: 12 kB / 3.786 GB, free: 22.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001616/9.848, allocations: 323.6 kB / 3.786 GB, free: 22.38 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.028e-05/9.848, allocations: 15.94 kB / 3.786 GB, free: 22.37 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001766/9.849, allocations: 203.1 kB / 3.786 GB, free: 22.17 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001679/9.85, allocations: 63.86 kB / 3.786 GB, free: 22.11 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (116): * Single equations (assignments): 116 * 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.0002504/9.85, allocations: 142.7 kB / 3.786 GB, free: 21.96 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002878/9.85, allocations: 118.5 kB / 3.786 GB, free: 21.84 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002188/9.852, allocations: 1.182 MB / 3.788 GB, free: 20.66 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.378e-06/9.852, allocations: 12 kB / 3.788 GB, free: 20.64 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/9.852, allocations: 0 / 3.788 GB, free: 20.64 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/9.852, allocations: 3.984 kB / 3.788 GB, free: 20.64 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004387/9.857, allocations: 2.586 MB / 3.79 GB, free: 17.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.744e-06/9.857, allocations: 4 kB / 3.79 GB, free: 17.96 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00146/9.858, allocations: 264.1 kB / 3.79 GB, free: 17.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.97e-05/9.858, allocations: 8 kB / 3.79 GB, free: 17.69 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001124/9.858, allocations: 23.97 kB / 3.79 GB, free: 17.67 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.594e-06/9.858, allocations: 11.94 kB / 3.79 GB, free: 17.66 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/9.858, allocations: 7.984 kB / 3.79 GB, free: 17.65 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002733/9.861, allocations: 2.114 MB / 3.792 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004134/9.862, allocations: 215.4 kB / 3.793 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003033/9.862, allocations: 8 kB / 3.793 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001434/9.863, allocations: 151.8 kB / 3.793 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001333/9.863, allocations: 56.52 kB / 3.793 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.665e-05/9.864, allocations: 35.97 kB / 3.793 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0008707/9.864, allocations: 0.6523 MB / 3.794 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001869/9.866, allocations: 459.3 kB / 3.794 GB, free: 13.81 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (85): * Single equations (assignments): 79 * 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.003566/9.87, allocations: 2.163 MB / 3.796 GB, free: 11.63 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001742/9.872, allocations: 1.034 MB / 3.797 GB, free: 10.6 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/9.872, allocations: 0 / 3.797 GB, free: 10.6 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0008174/9.872, allocations: 0.5351 MB / 3.798 GB, free: 10.06 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002189/9.875, allocations: 416.4 kB / 3.798 GB, free: 9.656 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01678/9.891, allocations: 2.781 MB / 3.801 GB, free: 6.785 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001894/9.893, allocations: 1.373 MB / 3.802 GB, free: 5.383 MB / 0.6511 GB Notification: Performance of SimCode: time 1.312e-06/9.893, allocations: 0 / 3.802 GB, free: 5.383 MB / 0.6511 GB Notification: Performance of Templates: time 0.4163/10.31, allocations: 30.91 MB / 3.832 GB, free: 175.4 MB / 0.6667 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)