Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") translateModel(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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/BuildingSystems 2.0.0-master/package.mo): time 0.888/0.888, allocations: 141.8 MB / 149.1 MB, free: 1.543 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002033/0.002034, allocations: 173.3 kB / 181.9 MB, free: 0.9414 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.644/1.644, allocations: 221.4 MB / 436 MB, free: 5.633 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009981/0.0009981, allocations: 100.6 kB / 0.507 GB, free: 2.297 MB / 410.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001684/0.001684, allocations: 267.4 kB / 0.5884 GB, free: 47.38 MB / 410.9 MB Notification: Performance of FrontEnd - loaded program: time 9.778e-06/1.04e-05, allocations: 2.594 kB / 0.6759 GB, free: 59.65 MB / 442.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1941/0.1941, allocations: 82.77 MB / 0.7567 GB, free: 0.8203 MB / 442.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.143/4.337, allocations: 1.834 GB / 2.59 GB, free: 136 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002632/4.338, allocations: 84.52 kB / 2.59 GB, free: 135.9 MB / 0.6982 GB Notification: Performance of FrontEnd: time 4.017/8.355, allocations: 1.019 GB / 3.61 GB, free: 119.6 MB / 0.7138 GB Notification: Performance of Transformations before backend: time 0.0002175/8.355, allocations: 51.75 kB / 3.61 GB, free: 119.6 MB / 0.7138 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.009138/8.365, allocations: 1.88 MB / 3.612 GB, free: 118.9 MB / 0.7138 GB Notification: Performance of prepare preOptimizeDAE: time 5.281e-05/8.365, allocations: 9.781 kB / 3.612 GB, free: 118.9 MB / 0.7138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004968/8.37, allocations: 0.7675 MB / 3.612 GB, free: 118.8 MB / 0.7138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004793/8.375, allocations: 1.084 MB / 3.614 GB, free: 118.5 MB / 0.7138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.055e-05/8.375, allocations: 31.09 kB / 3.614 GB, free: 118.5 MB / 0.7138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004404/8.375, allocations: 54.06 kB / 3.614 GB, free: 118.5 MB / 0.7138 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002087/8.377, allocations: 0.8515 MB / 3.614 GB, free: 118.5 MB / 0.7138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002466/8.38, allocations: 1.171 MB / 3.616 GB, free: 118.2 MB / 0.7138 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.104e-05/8.38, allocations: 0 / 3.616 GB, free: 118.2 MB / 0.7138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001352/8.38, allocations: 5.594 kB / 3.616 GB, free: 118.2 MB / 0.7138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.681e-05/8.38, allocations: 46.73 kB / 3.616 GB, free: 118.2 MB / 0.7138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01002/8.39, allocations: 5.682 MB / 3.621 GB, free: 115.3 MB / 0.7138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001479/8.391, allocations: 0.8876 MB / 3.622 GB, free: 115.3 MB / 0.7138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006868/8.392, allocations: 498 kB / 3.623 GB, free: 115.3 MB / 0.7138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000898/8.393, allocations: 0.5896 MB / 3.623 GB, free: 114.7 MB / 0.7138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008964/8.394, allocations: 0.585 MB / 3.624 GB, free: 114.7 MB / 0.7138 GB Notification: Performance of pre-optimization done (n=80): time 4.388e-06/8.394, allocations: 0 / 3.624 GB, free: 114.7 MB / 0.7138 GB Notification: Performance of matching and sorting (n=80): time 0.002727/8.397, allocations: 1.087 MB / 3.625 GB, free: 114.6 MB / 0.7138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.61e-05/8.397, allocations: 59.25 kB / 3.625 GB, free: 114.5 MB / 0.7138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001586/8.398, allocations: 0.8641 MB / 3.626 GB, free: 114.3 MB / 0.7138 GB Notification: Performance of collectPreVariables (initialization): time 0.0001422/8.399, allocations: 28.58 kB / 3.626 GB, free: 114.3 MB / 0.7138 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003855/8.399, allocations: 413.9 kB / 3.626 GB, free: 114.1 MB / 0.7138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002923/8.399, allocations: 263.8 kB / 3.626 GB, free: 114 MB / 0.7138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.744e-05/8.399, allocations: 0 / 3.626 GB, free: 114 MB / 0.7138 GB Notification: Performance of setup shared object (initialization): time 9.635e-05/8.399, allocations: 341.7 kB / 3.627 GB, free: 113.7 MB / 0.7138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006712/8.4, allocations: 420.4 kB / 3.627 GB, free: 113.7 MB / 0.7138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009614/8.401, allocations: 0.741 MB / 3.628 GB, free: 113.3 MB / 0.7138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001198/8.402, allocations: 485.8 kB / 3.628 GB, free: 113.3 MB / 0.7138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.128e-05/8.402, allocations: 6.656 kB / 3.628 GB, free: 113.3 MB / 0.7138 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.002344/8.405, allocations: 1.185 MB / 3.629 GB, free: 113.2 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/8.405, allocations: 10.59 kB / 3.629 GB, free: 113.2 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.901e-05/8.405, allocations: 7.594 kB / 3.629 GB, free: 113.2 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.044e-05/8.405, allocations: 14.22 kB / 3.629 GB, free: 113.2 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001713/8.407, allocations: 323.1 kB / 3.63 GB, free: 113.2 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.073e-05/8.407, allocations: 19.88 kB / 3.63 GB, free: 113.2 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001851/8.408, allocations: 209.2 kB / 3.63 GB, free: 113.1 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001838/8.409, allocations: 55.64 kB / 3.63 GB, free: 113.1 MB / 0.7138 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.0002813/8.409, allocations: 146.9 kB / 3.63 GB, free: 113 MB / 0.7138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003475/8.409, allocations: 119.1 kB / 3.63 GB, free: 113 MB / 0.7138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002435/8.412, allocations: 1.192 MB / 3.631 GB, free: 112.9 MB / 0.7138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.097e-05/8.412, allocations: 11.75 kB / 3.631 GB, free: 112.9 MB / 0.7138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/8.412, allocations: 0 / 3.631 GB, free: 112.9 MB / 0.7138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/8.412, allocations: 7.219 kB / 3.631 GB, free: 112.9 MB / 0.7138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004912/8.417, allocations: 2.611 MB / 3.634 GB, free: 112.4 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/8.417, allocations: 7.281 kB / 3.634 GB, free: 112.4 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00147/8.418, allocations: 262.7 kB / 3.634 GB, free: 112.4 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-05/8.418, allocations: 7.469 kB / 3.634 GB, free: 112.4 MB / 0.7138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001439/8.418, allocations: 30.84 kB / 3.634 GB, free: 112.4 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.049e-05/8.418, allocations: 12.11 kB / 3.634 GB, free: 112.4 MB / 0.7138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/8.418, allocations: 5.156 kB / 3.634 GB, free: 112.4 MB / 0.7138 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002969/8.421, allocations: 2.14 MB / 3.636 GB, free: 111.8 MB / 0.7138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007806/8.422, allocations: 321.3 kB / 3.637 GB, free: 111.7 MB / 0.7138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003865/8.423, allocations: 11.69 kB / 3.637 GB, free: 111.7 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00149/8.424, allocations: 149.9 kB / 3.637 GB, free: 111.6 MB / 0.7138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001416/8.424, allocations: 51.12 kB / 3.637 GB, free: 111.6 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001072/8.424, allocations: 43.23 kB / 3.637 GB, free: 111.6 MB / 0.7138 GB Notification: Performance of sort global known variables: time 0.001059/8.425, allocations: 0.6523 MB / 3.638 GB, free: 111.5 MB / 0.7138 GB Notification: Performance of remove unused functions: time 0.002013/8.427, allocations: 462.5 kB / 3.638 GB, free: 111.5 MB / 0.7138 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.003825/8.431, allocations: 2.139 MB / 3.64 GB, free: 110.9 MB / 0.7138 GB Notification: Performance of simCode: created initialization part: time 0.001914/8.433, allocations: 1.047 MB / 3.641 GB, free: 110.9 MB / 0.7138 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/8.433, allocations: 0 / 3.641 GB, free: 110.9 MB / 0.7138 GB Notification: Performance of simCode: created simulation system equations: time 0.0008488/8.434, allocations: 0.5382 MB / 3.642 GB, free: 110.9 MB / 0.7138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002282/8.436, allocations: 411.9 kB / 3.642 GB, free: 110.9 MB / 0.7138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01655/8.453, allocations: 2.783 MB / 3.645 GB, free: 110.3 MB / 0.7138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001818/8.455, allocations: 1.368 MB / 3.646 GB, free: 109.6 MB / 0.7138 GB Notification: Performance of SimCode: time 1.243e-06/8.455, allocations: 1.125 kB / 3.646 GB, free: 109.6 MB / 0.7138 GB Notification: Performance of Templates: time 0.07221/8.527, allocations: 30.8 MB / 3.676 GB, free: 97.68 MB / 0.7138 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)