Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.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.HeatExchangers.ActiveBeams.Examples.CoolingOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly") translateModel(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly") [: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.7791/0.7791, allocations: 141.8 MB / 149.1 MB, free: 4.559 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.001555/0.001555, allocations: 180.4 kB / 181.9 MB, free: 192 kB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 221.3 MB / 436 MB, free: 9.32 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.00113/0.001131, allocations: 98.22 kB / 0.507 GB, free: 24.32 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002108/0.002108, allocations: 276.8 kB / 0.5884 GB, free: 12.36 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 7.564e-06/7.584e-06, allocations: 0 / 0.6759 GB, free: 2.719 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5289/0.5289, allocations: 82.77 MB / 0.7567 GB, free: 112.9 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.885/5.414, allocations: 2.142 GB / 2.899 GB, free: 217 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002288/5.414, allocations: 103.8 kB / 2.899 GB, free: 216.9 MB / 0.6982 GB Notification: Performance of FrontEnd: time 3.072/8.486, allocations: 0.882 GB / 3.781 GB, free: 93.34 MB / 0.7138 GB Notification: Performance of Transformations before backend: time 0.0003636/8.487, allocations: 55.56 kB / 3.781 GB, free: 93.33 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: 331 * Number of variables: 331 Notification: Performance of Generate backend data structure: time 0.007333/8.494, allocations: 2.367 MB / 3.783 GB, free: 92.14 MB / 0.7138 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/8.494, allocations: 7.75 kB / 3.783 GB, free: 92.14 MB / 0.7138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002784/8.497, allocations: 390 kB / 3.784 GB, free: 92.02 MB / 0.7138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00609/8.503, allocations: 2.074 MB / 3.786 GB, free: 91.57 MB / 0.7138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.61e-05/8.503, allocations: 43.72 kB / 3.786 GB, free: 91.57 MB / 0.7138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005698/8.504, allocations: 83.78 kB / 3.786 GB, free: 91.57 MB / 0.7138 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002998/8.507, allocations: 1.139 MB / 3.787 GB, free: 91.56 MB / 0.7138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003535/8.51, allocations: 1.385 MB / 3.788 GB, free: 91.4 MB / 0.7138 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.74e-05/8.511, allocations: 9.188 kB / 3.788 GB, free: 91.4 MB / 0.7138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002363/8.511, allocations: 3.938 kB / 3.788 GB, free: 91.4 MB / 0.7138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.716e-05/8.511, allocations: 46.22 kB / 3.788 GB, free: 91.39 MB / 0.7138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01279/8.524, allocations: 6.706 MB / 3.795 GB, free: 88.92 MB / 0.7138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001672/8.525, allocations: 0.9057 MB / 3.796 GB, free: 88.89 MB / 0.7138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007642/8.526, allocations: 0.5878 MB / 3.796 GB, free: 88.88 MB / 0.7138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005606/8.527, allocations: 0.6864 MB / 3.797 GB, free: 88.13 MB / 0.7138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/8.527, allocations: 44.72 kB / 3.797 GB, free: 88.09 MB / 0.7138 GB Notification: Performance of pre-optimization done (n=83): time 3.246e-06/8.527, allocations: 0 / 3.797 GB, free: 88.09 MB / 0.7138 GB Notification: Performance of matching and sorting (n=85): time 0.006914/8.534, allocations: 2.753 MB / 3.8 GB, free: 87.1 MB / 0.7138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.514e-05/8.534, allocations: 200 kB / 3.8 GB, free: 86.88 MB / 0.7138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003509/8.537, allocations: 1.507 MB / 3.801 GB, free: 86.24 MB / 0.7138 GB Notification: Performance of collectPreVariables (initialization): time 0.0001959/8.538, allocations: 29.3 kB / 3.801 GB, free: 86.21 MB / 0.7138 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005475/8.538, allocations: 0.5775 MB / 3.802 GB, free: 85.82 MB / 0.7138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003251/8.538, allocations: 283 kB / 3.802 GB, free: 85.6 MB / 0.7138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.009e-05/8.539, allocations: 7.656 kB / 3.802 GB, free: 85.59 MB / 0.7138 GB Notification: Performance of setup shared object (initialization): time 0.0001011/8.539, allocations: 339.9 kB / 3.803 GB, free: 85.28 MB / 0.7138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007952/8.539, allocations: 0.5798 MB / 3.803 GB, free: 85.04 MB / 0.7138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009712/8.54, allocations: 0.8278 MB / 3.804 GB, free: 84.53 MB / 0.7138 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.004345/8.545, allocations: 2.187 MB / 3.806 GB, free: 83.59 MB / 0.7138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/8.545, allocations: 3.406 kB / 3.806 GB, free: 83.59 MB / 0.7138 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002792/8.548, allocations: 1.548 MB / 3.808 GB, free: 82.99 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004041/8.548, allocations: 1.454 MB / 3.809 GB, free: 81.45 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.649e-05/8.548, allocations: 8.406 kB / 3.809 GB, free: 81.45 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.89e-05/8.548, allocations: 7.844 kB / 3.809 GB, free: 81.45 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008588/8.549, allocations: 191.8 kB / 3.809 GB, free: 81.44 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.158e-05/8.549, allocations: 5.969 kB / 3.809 GB, free: 81.44 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001872/8.551, allocations: 98.3 kB / 3.809 GB, free: 81.43 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001534/8.551, allocations: 44.17 kB / 3.809 GB, free: 81.43 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/8.551, allocations: 7.719 kB / 3.809 GB, free: 81.43 MB / 0.7138 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002112/8.553, allocations: 1.341 MB / 3.811 GB, free: 80.95 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/8.553, allocations: 3.875 kB / 3.811 GB, free: 80.95 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/8.553, allocations: 10.31 kB / 3.811 GB, free: 80.95 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007508/8.554, allocations: 181.1 kB / 3.811 GB, free: 80.95 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.743e-05/8.554, allocations: 13.12 kB / 3.811 GB, free: 80.94 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001787/8.556, allocations: 99.53 kB / 3.811 GB, free: 80.93 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001308/8.556, allocations: 47.45 kB / 3.811 GB, free: 80.93 MB / 0.7138 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: vol.dynBal.medium.p = vol.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 4 (beaCoo.conCoo.mod.temDif_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.airFlo_mod.i,conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 6 * 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.0003613/8.556, allocations: 219 kB / 3.811 GB, free: 80.72 MB / 0.7138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006116/8.557, allocations: 174.1 kB / 3.811 GB, free: 80.63 MB / 0.7138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002958/8.56, allocations: 1.288 MB / 3.813 GB, free: 80.12 MB / 0.7138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.88e-05/8.56, allocations: 11.28 kB / 3.813 GB, free: 80.12 MB / 0.7138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/8.56, allocations: 0 / 3.813 GB, free: 80.12 MB / 0.7138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001689/8.562, allocations: 1.377 MB / 3.814 GB, free: 79.31 MB / 0.7138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006918/8.569, allocations: 3.283 MB / 3.817 GB, free: 77.76 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.151e-05/8.569, allocations: 7.062 kB / 3.817 GB, free: 77.76 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008283/8.569, allocations: 169.9 kB / 3.817 GB, free: 77.75 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.422e-05/8.57, allocations: 9.844 kB / 3.817 GB, free: 77.75 MB / 0.7138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.158e-05/8.57, allocations: 18.03 kB / 3.817 GB, free: 77.75 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.016e-05/8.57, allocations: 10.88 kB / 3.817 GB, free: 77.75 MB / 0.7138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.634e-06/8.57, allocations: 7.031 kB / 3.817 GB, free: 77.75 MB / 0.7138 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003539/8.573, allocations: 2.542 MB / 3.82 GB, free: 76.24 MB / 0.7138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001564/8.575, allocations: 436.4 kB / 3.82 GB, free: 75.93 MB / 0.7138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007284/8.576, allocations: 17.59 kB / 3.82 GB, free: 75.93 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001723/8.577, allocations: 94.19 kB / 3.82 GB, free: 75.92 MB / 0.7138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002363/8.577, allocations: 85.16 kB / 3.821 GB, free: 75.9 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001155/8.578, allocations: 39.86 kB / 3.821 GB, free: 75.89 MB / 0.7138 GB Notification: Performance of sort global known variables: time 0.003098/8.581, allocations: 1.15 MB / 3.822 GB, free: 75.39 MB / 0.7138 GB Notification: Performance of remove unused functions: time 0.005056/8.586, allocations: 0.897 MB / 3.823 GB, free: 75.23 MB / 0.7138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 4 (conPID.I.y,vol.dynBal.U,vol.dynBal.mXi[1],beaCoo.conCoo.hex.vol.dynBal.U) * Number of discrete variables: 3 (beaCoo.conCoo.mod.temDif_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.airFlo_mod.i) * Number of discrete states: 3 (beaCoo.conCoo.mod.airFlo_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.temDif_mod.i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 2 * 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 Backend phase and start with SimCode phase: time 0.004404/8.59, allocations: 2.403 MB / 3.825 GB, free: 74.52 MB / 0.7138 GB Notification: Performance of simCode: created initialization part: time 0.003548/8.594, allocations: 2.374 MB / 3.827 GB, free: 73.39 MB / 0.7138 GB Notification: Performance of simCode: created event and clocks part: time 1.05e-05/8.594, allocations: 1.219 kB / 3.827 GB, free: 73.39 MB / 0.7138 GB Notification: Performance of simCode: created simulation system equations: time 0.001252/8.595, allocations: 0.9113 MB / 3.828 GB, free: 72.98 MB / 0.7138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005465/8.601, allocations: 0.8072 MB / 3.829 GB, free: 72.83 MB / 0.7138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009598/8.61, allocations: 3.123 MB / 3.832 GB, free: 71.55 MB / 0.7138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003105/8.613, allocations: 1.686 MB / 3.834 GB, free: 70.72 MB / 0.7138 GB Notification: Performance of SimCode: time 2.926e-06/8.613, allocations: 0 / 3.834 GB, free: 70.72 MB / 0.7138 GB Notification: Performance of Templates: time 0.08686/8.7, allocations: 48.96 MB / 3.881 GB, free: 29.32 MB / 0.7138 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe 2>&1)