Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") translateModel(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") [: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.7398/0.7398, allocations: 141.8 MB / 149 MB, free: 3.691 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.001244/0.001243, allocations: 189.9 kB / 181.9 MB, free: 15.45 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.474/1.474, allocations: 221.3 MB / 436 MB, free: 8.645 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.001074/0.001074, allocations: 95.34 kB / 0.507 GB, free: 24.28 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001876/0.001876, allocations: 273.6 kB / 0.5884 GB, free: 11.66 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 1.014e-05/1.017e-05, allocations: 4 kB / 0.6759 GB, free: 2.016 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4884/0.4884, allocations: 82.76 MB / 0.7567 GB, free: 112.2 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1342/0.6227, allocations: 110.3 MB / 0.8644 GB, free: 1.766 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002921/0.623, allocations: 88.47 kB / 0.8645 GB, free: 1.684 MB / 0.5263 GB Notification: Performance of FrontEnd: time 0.02351/0.6466, allocations: 7.311 MB / 0.8716 GB, free: 10.39 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 2.466e-05/0.6467, allocations: 8 kB / 0.8717 GB, free: 10.38 MB / 0.5419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001125/0.6478, allocations: 0.5681 MB / 0.8722 GB, free: 9.766 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 5.395e-05/0.6479, allocations: 8.031 kB / 0.8722 GB, free: 9.758 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003239/0.6482, allocations: 35.61 kB / 0.8723 GB, free: 9.723 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006949/0.6489, allocations: 294.8 kB / 0.8725 GB, free: 9.395 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.6489, allocations: 4 kB / 0.8725 GB, free: 9.391 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.278e-05/0.649, allocations: 15.94 kB / 0.8726 GB, free: 9.375 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002329/0.6492, allocations: 84.55 kB / 0.8726 GB, free: 9.293 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002715/0.6495, allocations: 156.5 kB / 0.8728 GB, free: 9.117 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.6495, allocations: 3.938 kB / 0.8728 GB, free: 9.113 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.894e-05/0.6495, allocations: 0.9375 kB / 0.8728 GB, free: 9.113 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/0.6496, allocations: 4 kB / 0.8728 GB, free: 9.109 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001328/0.6509, allocations: 0.9154 MB / 0.8737 GB, free: 8.137 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005819/0.6515, allocations: 185.4 kB / 0.8739 GB, free: 7.938 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001165/0.6516, allocations: 53.86 kB / 0.8739 GB, free: 7.879 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.969e-05/0.6517, allocations: 8 kB / 0.8739 GB, free: 7.871 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.6517, allocations: 30.56 kB / 0.8739 GB, free: 7.832 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=16): time 2.104e-06/0.6517, allocations: 3.938 kB / 0.874 GB, free: 7.828 MB / 0.5419 GB Notification: Performance of matching and sorting (n=16): time 0.0005243/0.6522, allocations: 148 kB / 0.8741 GB, free: 7.68 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.513e-05/0.6523, allocations: 77.11 kB / 0.8742 GB, free: 7.586 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002523/0.6526, allocations: 224.1 kB / 0.8744 GB, free: 7.363 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 2.344e-05/0.6526, allocations: 25.7 kB / 0.8744 GB, free: 7.332 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 8.722e-05/0.6527, allocations: 128.3 kB / 0.8745 GB, free: 7.203 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 4.192e-05/0.6527, allocations: 51.2 kB / 0.8746 GB, free: 7.152 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.919e-06/0.6528, allocations: 0 / 0.8746 GB, free: 7.152 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.6529, allocations: 334.8 kB / 0.8749 GB, free: 6.816 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.111e-05/0.653, allocations: 44 kB / 0.8749 GB, free: 6.773 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/0.6531, allocations: 94.73 kB / 0.875 GB, free: 6.66 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001673/0.6533, allocations: 48.72 kB / 0.8751 GB, free: 6.613 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.6533, allocations: 4 kB / 0.8751 GB, free: 6.609 MB / 0.5419 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004188/0.6537, allocations: 179 kB / 0.8752 GB, free: 6.43 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.6538, allocations: 7.281 kB / 0.8753 GB, free: 6.426 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.6538, allocations: 4 kB / 0.8753 GB, free: 6.422 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.6538, allocations: 0 / 0.8753 GB, free: 6.422 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003441/0.6542, allocations: 83.97 kB / 0.8753 GB, free: 6.34 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.475e-05/0.6542, allocations: 4 kB / 0.8753 GB, free: 6.336 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002809/0.6545, allocations: 55.8 kB / 0.8754 GB, free: 6.281 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.317e-05/0.6545, allocations: 12 kB / 0.8754 GB, free: 6.27 MB / 0.5419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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 9.997e-05/0.6546, allocations: 108.8 kB / 0.8755 GB, free: 6.156 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001428/0.6548, allocations: 23.72 kB / 0.8755 GB, free: 6.133 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004228/0.6552, allocations: 186.9 kB / 0.8757 GB, free: 5.945 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.6552, allocations: 11.91 kB / 0.8757 GB, free: 5.934 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.6552, allocations: 0 / 0.8757 GB, free: 5.934 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.6552, allocations: 0 / 0.8757 GB, free: 5.934 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00041/0.6556, allocations: 257.9 kB / 0.876 GB, free: 5.645 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.6557, allocations: 0 / 0.876 GB, free: 5.645 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003062/0.656, allocations: 75.88 kB / 0.876 GB, free: 5.57 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.656, allocations: 2.812 kB / 0.876 GB, free: 5.57 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.644e-05/0.656, allocations: 0 / 0.876 GB, free: 5.57 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.661e-06/0.656, allocations: 8 kB / 0.8761 GB, free: 5.562 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.656, allocations: 0 / 0.8761 GB, free: 5.562 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005171/0.6565, allocations: 351.3 kB / 0.8764 GB, free: 5.199 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.213e-05/0.6566, allocations: 104.7 kB / 0.8765 GB, free: 5.078 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.35e-05/0.6567, allocations: 4 kB / 0.8765 GB, free: 5.074 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002939/0.657, allocations: 35.97 kB / 0.8765 GB, free: 5.039 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.083e-05/0.6571, allocations: 19.97 kB / 0.8765 GB, free: 5.02 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/0.6571, allocations: 4 kB / 0.8765 GB, free: 5.016 MB / 0.5419 GB Notification: Performance of sort global known variables: time 0.0001837/0.6573, allocations: 179.1 kB / 0.8767 GB, free: 4.84 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0003855/0.6577, allocations: 60.08 kB / 0.8768 GB, free: 4.781 MB / 0.5419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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 Backend phase and start with SimCode phase: time 0.0002505/0.6579, allocations: 115.2 kB / 0.8769 GB, free: 4.66 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0002823/0.6582, allocations: 119.9 kB / 0.877 GB, free: 4.543 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.6582, allocations: 0 / 0.877 GB, free: 4.543 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.000147/0.6584, allocations: 67.94 kB / 0.8771 GB, free: 4.477 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004746/0.6589, allocations: 61.56 kB / 0.8771 GB, free: 4.418 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007817/0.6597, allocations: 305.4 kB / 0.8774 GB, free: 4.098 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005632/0.6602, allocations: 0.7863 MB / 0.8782 GB, free: 3.285 MB / 0.5419 GB Notification: Performance of SimCode: time 1.5e-05/0.6603, allocations: 4 kB / 0.8782 GB, free: 3.281 MB / 0.5419 GB Notification: Performance of Templates: time 0.008365/0.6686, allocations: 3.429 MB / 0.8815 GB, free: 15.96 MB / 0.5575 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)