Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet") [: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.7728/0.7728, allocations: 127.4 MB / 134.6 MB, free: 4.07 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.001289/0.001289, allocations: 185.3 kB / 164.4 MB, free: 6.867 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.893/1.893, allocations: 205.1 MB / 399.1 MB, free: 6.137 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.001136/0.001136, allocations: 101.8 kB / 476.3 MB, free: 8.891 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 9.257e-06/9.297e-06, allocations: 0 / 0.546 GB, free: 42.75 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1963/0.1963, allocations: 76.75 MB / 0.6209 GB, free: 13.93 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.375/5.571, allocations: 2.143 GB / 2.764 GB, free: 69.73 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000245/5.571, allocations: 83.95 kB / 2.764 GB, free: 69.65 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.676/8.247, allocations: 0.6779 GB / 3.442 GB, free: 104.1 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.000329/8.248, allocations: 49.42 kB / 3.442 GB, free: 104 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.01066/8.258, allocations: 1.763 MB / 3.443 GB, free: 103.3 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001073/8.258, allocations: 12 kB / 3.443 GB, free: 103.3 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006849/8.265, allocations: 0.9867 MB / 3.444 GB, free: 103.2 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005325/8.271, allocations: 1.137 MB / 3.446 GB, free: 102.8 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001177/8.271, allocations: 27.28 kB / 3.446 GB, free: 102.8 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005968/8.271, allocations: 60.62 kB / 3.446 GB, free: 102.8 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003345/8.275, allocations: 1.119 MB / 3.447 GB, free: 102.8 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003547/8.278, allocations: 1.157 MB / 3.448 GB, free: 102.7 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.648e-05/8.278, allocations: 1.125 kB / 3.448 GB, free: 102.7 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002067/8.279, allocations: 1.969 kB / 3.448 GB, free: 102.7 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001166/8.279, allocations: 51.03 kB / 3.448 GB, free: 102.7 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01296/8.292, allocations: 4.886 MB / 3.453 GB, free: 100.8 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002299/8.294, allocations: 1.081 MB / 3.454 GB, free: 100.8 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001265/8.295, allocations: 0.5838 MB / 3.454 GB, free: 100.7 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001396/8.297, allocations: 0.9525 MB / 3.455 GB, free: 99.76 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001428/8.298, allocations: 0.6841 MB / 3.456 GB, free: 99.52 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=94): time 3.928e-06/8.298, allocations: 4.531 kB / 3.456 GB, free: 99.52 MB / 0.6511 GB Notification: Performance of matching and sorting (n=94): time 0.004403/8.303, allocations: 1.32 MB / 3.457 GB, free: 99.09 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.988e-05/8.303, allocations: 62.03 kB / 3.457 GB, free: 99.03 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002224/8.305, allocations: 0.8181 MB / 3.458 GB, free: 98.7 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001973/8.305, allocations: 32.23 kB / 3.458 GB, free: 98.66 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005531/8.306, allocations: 379.8 kB / 3.458 GB, free: 98.4 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004228/8.306, allocations: 316.9 kB / 3.459 GB, free: 98.16 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.767e-05/8.306, allocations: 1.281 kB / 3.459 GB, free: 98.16 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001201/8.306, allocations: 341.8 kB / 3.459 GB, free: 97.84 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001012/8.307, allocations: 494.7 kB / 3.46 GB, free: 97.67 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001216/8.309, allocations: 0.7311 MB / 3.46 GB, free: 97.21 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001218/8.31, allocations: 0.5244 MB / 3.461 GB, free: 97.04 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.045e-05/8.31, allocations: 2 kB / 3.461 GB, free: 97.04 MB / 0.6511 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003146/8.313, allocations: 1.297 MB / 3.462 GB, free: 96.6 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/8.313, allocations: 4.094 kB / 3.462 GB, free: 96.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-05/8.313, allocations: 7.688 kB / 3.462 GB, free: 96.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.405e-05/8.313, allocations: 8.938 kB / 3.462 GB, free: 96.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002375/8.316, allocations: 372.6 kB / 3.462 GB, free: 96.57 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-05/8.316, allocations: 10.94 kB / 3.462 GB, free: 96.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00269/8.318, allocations: 236 kB / 3.463 GB, free: 96.54 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002716/8.319, allocations: 55.48 kB / 3.463 GB, free: 96.53 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (120): * Single equations (assignments): 120 * 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.0004643/8.319, allocations: 141.5 kB / 3.463 GB, free: 96.39 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006239/8.32, allocations: 118.7 kB / 3.463 GB, free: 96.33 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003653/8.323, allocations: 1.396 MB / 3.464 GB, free: 95.88 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.271e-05/8.323, allocations: 9.844 kB / 3.464 GB, free: 95.88 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.258e-05/8.323, allocations: 0.5156 kB / 3.464 GB, free: 95.88 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.349e-05/8.323, allocations: 9.516 kB / 3.464 GB, free: 95.88 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008259/8.332, allocations: 2.887 MB / 3.467 GB, free: 94.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.692e-05/8.332, allocations: 3.016 kB / 3.467 GB, free: 94.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0023/8.334, allocations: 329.2 kB / 3.467 GB, free: 94.68 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.287e-05/8.334, allocations: 8.25 kB / 3.467 GB, free: 94.68 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002066/8.334, allocations: 29 kB / 3.467 GB, free: 94.68 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.597e-05/8.334, allocations: 7.703 kB / 3.467 GB, free: 94.68 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.281e-05/8.334, allocations: 12.7 kB / 3.467 GB, free: 94.68 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005133/8.34, allocations: 2.412 MB / 3.47 GB, free: 93.43 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008461/8.34, allocations: 222.9 kB / 3.47 GB, free: 93.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006394/8.341, allocations: 13.16 kB / 3.47 GB, free: 93.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002289/8.343, allocations: 187.5 kB / 3.47 GB, free: 93.24 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002092/8.344, allocations: 59.41 kB / 3.47 GB, free: 93.23 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001809/8.344, allocations: 46.88 kB / 3.47 GB, free: 93.22 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.001587/8.345, allocations: 0.6314 MB / 3.471 GB, free: 92.95 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002967/8.348, allocations: 482.3 kB / 3.471 GB, free: 92.82 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,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 (100): * Single equations (assignments): 94 * 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.005077/8.354, allocations: 2.156 MB / 3.474 GB, free: 92.16 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003526/8.357, allocations: 1.198 MB / 3.475 GB, free: 91.54 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 9.839e-06/8.357, allocations: 0 / 3.475 GB, free: 91.54 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001397/8.359, allocations: 0.6351 MB / 3.475 GB, free: 90.93 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003077/8.362, allocations: 432.7 kB / 3.476 GB, free: 90.52 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01797/8.38, allocations: 3.132 MB / 3.479 GB, free: 87.59 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002303/8.382, allocations: 1.39 MB / 3.48 GB, free: 86.18 MB / 0.6511 GB Notification: Performance of SimCode: time 1.663e-06/8.382, allocations: 4 kB / 3.48 GB, free: 86.18 MB / 0.6511 GB Notification: Performance of Templates: time 0.05465/8.437, allocations: 33.3 MB / 3.513 GB, free: 53.55 MB / 0.6511 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)