Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") [: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.7648/0.7648, allocations: 141.8 MB / 149.1 MB, free: 13.73 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 177.1 kB / 181.9 MB, free: 10.34 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.475/1.475, allocations: 221.3 MB / 436 MB, free: 2.832 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.0009186/0.0009185, allocations: 102 kB / 0.507 GB, free: 17.96 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.0019/0.0019, allocations: 277 kB / 0.5884 GB, free: 4.305 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 9.909e-06/9.928e-06, allocations: 2.125 kB / 0.6759 GB, free: 137.2 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1864/0.1865, allocations: 82.77 MB / 0.7567 GB, free: 84.15 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7169/0.9034, allocations: 332 MB / 1.081 GB, free: 0.8867 MB / 0.6357 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002495/0.9037, allocations: 92.38 kB / 1.081 GB, free: 0.8398 MB / 0.6357 GB Notification: Performance of FrontEnd: time 0.03306/0.9368, allocations: 13.91 MB / 1.095 GB, free: 5.848 MB / 0.6513 GB Notification: Performance of Transformations before backend: time 1.006e-05/0.9369, allocations: 0 / 1.095 GB, free: 5.848 MB / 0.6513 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.000925/0.9378, allocations: 471 kB / 1.095 GB, free: 5.359 MB / 0.6513 GB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.9379, allocations: 8.031 kB / 1.095 GB, free: 5.352 MB / 0.6513 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.351e-05/0.9379, allocations: 15.81 kB / 1.095 GB, free: 5.336 MB / 0.6513 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001853/0.9381, allocations: 181.3 kB / 1.095 GB, free: 5.121 MB / 0.6513 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.9382, allocations: 4 kB / 1.095 GB, free: 5.117 MB / 0.6513 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.014e-05/0.9382, allocations: 11.98 kB / 1.095 GB, free: 5.105 MB / 0.6513 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002313/0.9384, allocations: 92.59 kB / 1.095 GB, free: 5.043 MB / 0.6513 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002321/0.9387, allocations: 87.77 kB / 1.095 GB, free: 4.969 MB / 0.6513 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.9387, allocations: 0 / 1.095 GB, free: 4.969 MB / 0.6513 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.9387, allocations: 0 / 1.095 GB, free: 4.969 MB / 0.6513 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.9387, allocations: 0 / 1.095 GB, free: 4.969 MB / 0.6513 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007379/0.9395, allocations: 394.4 kB / 1.096 GB, free: 4.605 MB / 0.6513 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001704/0.9396, allocations: 85.77 kB / 1.096 GB, free: 4.539 MB / 0.6513 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.465e-05/0.9397, allocations: 43.97 kB / 1.096 GB, free: 4.508 MB / 0.6513 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001224/0.941, allocations: 0.9286 MB / 1.097 GB, free: 3.492 MB / 0.6513 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.412e-05/0.941, allocations: 38.5 kB / 1.097 GB, free: 3.445 MB / 0.6513 GB Notification: Performance of pre-optimization done (n=12): time 1.993e-06/0.941, allocations: 0 / 1.097 GB, free: 3.445 MB / 0.6513 GB Notification: Performance of matching and sorting (n=12): time 0.0006173/0.9417, allocations: 136.8 kB / 1.097 GB, free: 3.328 MB / 0.6513 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.831e-05/0.9417, allocations: 51.41 kB / 1.097 GB, free: 3.266 MB / 0.6513 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/0.9419, allocations: 140.2 kB / 1.097 GB, free: 3.133 MB / 0.6513 GB Notification: Performance of collectPreVariables (initialization): time 3.291e-05/0.9419, allocations: 29.7 kB / 1.097 GB, free: 3.098 MB / 0.6513 GB Notification: Performance of collectInitialEqns (initialization): time 7.873e-05/0.942, allocations: 104 kB / 1.097 GB, free: 3 MB / 0.6513 GB Notification: Performance of collectInitialBindings (initialization): time 3.644e-05/0.942, allocations: 39.27 kB / 1.097 GB, free: 2.965 MB / 0.6513 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.064e-05/0.942, allocations: 0 / 1.097 GB, free: 2.965 MB / 0.6513 GB Notification: Performance of setup shared object (initialization): time 0.0001635/0.9422, allocations: 326.4 kB / 1.098 GB, free: 2.641 MB / 0.6513 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.9423, allocations: 46.38 kB / 1.098 GB, free: 2.613 MB / 0.6513 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001257/0.9425, allocations: 80.17 kB / 1.098 GB, free: 2.547 MB / 0.6513 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006173/0.9431, allocations: 149.7 kB / 1.098 GB, free: 2.43 MB / 0.6513 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.9431, allocations: 0 / 1.098 GB, free: 2.43 MB / 0.6513 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0007723/0.9439, allocations: 258.6 kB / 1.098 GB, free: 2.215 MB / 0.6513 GB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.9439, allocations: 8 kB / 1.098 GB, free: 2.207 MB / 0.6513 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.9439, allocations: 0 / 1.098 GB, free: 2.207 MB / 0.6513 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.9439, allocations: 0 / 1.098 GB, free: 2.207 MB / 0.6513 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003227/0.9443, allocations: 67.98 kB / 1.098 GB, free: 2.141 MB / 0.6513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.9443, allocations: 7.906 kB / 1.098 GB, free: 2.133 MB / 0.6513 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001869/0.9445, allocations: 31.83 kB / 1.098 GB, free: 2.102 MB / 0.6513 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.662e-05/0.9445, allocations: 15.92 kB / 1.098 GB, free: 2.09 MB / 0.6513 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001045/0.9446, allocations: 104.9 kB / 1.098 GB, free: 1.98 MB / 0.6513 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.059e-05/0.9447, allocations: 7.906 kB / 1.098 GB, free: 1.973 MB / 0.6513 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004481/0.9451, allocations: 164.5 kB / 1.099 GB, free: 1.832 MB / 0.6513 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.9452, allocations: 0 / 1.099 GB, free: 1.832 MB / 0.6513 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.9452, allocations: 7.984 kB / 1.099 GB, free: 1.824 MB / 0.6513 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.9452, allocations: 4 kB / 1.099 GB, free: 1.82 MB / 0.6513 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002176/0.9454, allocations: 188 kB / 1.099 GB, free: 1.617 MB / 0.6513 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.9454, allocations: 0 / 1.099 GB, free: 1.617 MB / 0.6513 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001824/0.9456, allocations: 35.97 kB / 1.099 GB, free: 1.582 MB / 0.6513 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.9456, allocations: 0 / 1.099 GB, free: 1.582 MB / 0.6513 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.9456, allocations: 4 kB / 1.099 GB, free: 1.578 MB / 0.6513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.9456, allocations: 4 kB / 1.099 GB, free: 1.574 MB / 0.6513 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.9457, allocations: 3.984 kB / 1.099 GB, free: 1.57 MB / 0.6513 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004013/0.9461, allocations: 244.8 kB / 1.099 GB, free: 1.344 MB / 0.6513 GB Notification: Performance of postOpt removeConstants (simulation): time 5.255e-05/0.9461, allocations: 84.92 kB / 1.099 GB, free: 1.242 MB / 0.6513 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.672e-05/0.9462, allocations: 7.938 kB / 1.099 GB, free: 1.234 MB / 0.6513 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001678/0.9463, allocations: 23.98 kB / 1.099 GB, free: 1.211 MB / 0.6513 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.117e-05/0.9464, allocations: 7.984 kB / 1.099 GB, free: 1.203 MB / 0.6513 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.206e-06/0.9464, allocations: 0 / 1.099 GB, free: 1.203 MB / 0.6513 GB Notification: Performance of sort global known variables: time 8.42e-05/0.9465, allocations: 111.5 kB / 1.099 GB, free: 1.105 MB / 0.6513 GB Notification: Performance of remove unused functions: time 0.0003586/0.9469, allocations: 63.48 kB / 1.099 GB, free: 1.047 MB / 0.6513 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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.0004699/0.9473, allocations: 175.1 kB / 1.099 GB, free: 0.8672 MB / 0.6513 GB Notification: Performance of simCode: created initialization part: time 0.0002614/0.9476, allocations: 115.1 kB / 1.1 GB, free: 0.7891 MB / 0.6513 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.9476, allocations: 0 / 1.1 GB, free: 0.7891 MB / 0.6513 GB Notification: Performance of simCode: created simulation system equations: time 7.993e-05/0.9477, allocations: 42.94 kB / 1.1 GB, free: 0.7578 MB / 0.6513 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002819/0.948, allocations: 22.05 kB / 1.1 GB, free: 0.7422 MB / 0.6513 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004429/0.9485, allocations: 157.8 kB / 1.1 GB, free: 0.5742 MB / 0.6513 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000405/0.9489, allocations: 0.7308 MB / 1.1 GB, free: 15.82 MB / 0.6669 GB Notification: Performance of SimCode: time 2.51e-07/0.9489, allocations: 0 / 1.1 GB, free: 15.82 MB / 0.6669 GB Notification: Performance of Templates: time 0.006809/0.9557, allocations: 2.737 MB / 1.103 GB, free: 13.13 MB / 0.6669 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)