Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0/package.mo): time 0.7209/0.7209, allocations: 127.4 MB / 134.7 MB, free: 9.75 MB / 114.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001205/0.001205, allocations: 181.1 kB / 164.4 MB, free: 5.43 MB / 130.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.94/1.94, allocations: 205.1 MB / 399.1 MB, free: 2.941 MB / 306.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009693/0.000969, allocations: 83 kB / 476.3 MB, free: 2.586 MB / 354.8 MB Notification: Performance of FrontEnd - loaded program: time 1.218e-05/1.223e-05, allocations: 4 kB / 0.546 GB, free: 15.74 MB / 450.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5948/0.5948, allocations: 76.74 MB / 0.6209 GB, free: 86.24 MB / 498.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8249/1.42, allocations: 320.9 MB / 0.9343 GB, free: 92.51 MB / 0.5964 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000237/1.42, allocations: 84.44 kB / 0.9344 GB, free: 92.46 MB / 0.5964 GB Notification: Performance of FrontEnd: time 0.02834/1.448, allocations: 13.21 MB / 0.9473 GB, free: 82.28 MB / 0.5964 GB Notification: Performance of Transformations before backend: time 1.27e-05/1.449, allocations: 4 kB / 0.9473 GB, free: 82.28 MB / 0.5964 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.0008257/1.449, allocations: 464.3 kB / 0.9477 GB, free: 81.79 MB / 0.5964 GB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/1.449, allocations: 8.031 kB / 0.9477 GB, free: 81.78 MB / 0.5964 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.917e-05/1.45, allocations: 11.81 kB / 0.9477 GB, free: 81.77 MB / 0.5964 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001901/1.45, allocations: 178.9 kB / 0.9479 GB, free: 81.55 MB / 0.5964 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.104e-05/1.45, allocations: 4 kB / 0.9479 GB, free: 81.55 MB / 0.5964 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.991e-05/1.45, allocations: 4 kB / 0.9479 GB, free: 81.55 MB / 0.5964 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002529/1.45, allocations: 94.53 kB / 0.948 GB, free: 81.48 MB / 0.5964 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/1.45, allocations: 85.61 kB / 0.9481 GB, free: 81.41 MB / 0.5964 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/1.45, allocations: 7.984 kB / 0.9481 GB, free: 81.41 MB / 0.5964 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.738e-05/1.45, allocations: 0 / 0.9481 GB, free: 81.41 MB / 0.5964 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/1.45, allocations: 0 / 0.9481 GB, free: 81.41 MB / 0.5964 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000731/1.451, allocations: 399.6 kB / 0.9485 GB, free: 81.05 MB / 0.5964 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001713/1.451, allocations: 87.75 kB / 0.9485 GB, free: 80.98 MB / 0.5964 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.046e-05/1.451, allocations: 47.55 kB / 0.9486 GB, free: 80.94 MB / 0.5964 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001142/1.452, allocations: 0.9401 MB / 0.9495 GB, free: 79.91 MB / 0.5964 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.468e-05/1.452, allocations: 39.03 kB / 0.9495 GB, free: 79.87 MB / 0.5964 GB Notification: Performance of pre-optimization done (n=12): time 2.174e-06/1.453, allocations: 0 / 0.9495 GB, free: 79.87 MB / 0.5964 GB Notification: Performance of matching and sorting (n=12): time 0.0005884/1.453, allocations: 131.8 kB / 0.9497 GB, free: 79.76 MB / 0.5964 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/1.453, allocations: 57.34 kB / 0.9497 GB, free: 79.7 MB / 0.5964 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001456/1.453, allocations: 150.8 kB / 0.9499 GB, free: 79.56 MB / 0.5964 GB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/1.453, allocations: 25.7 kB / 0.9499 GB, free: 79.53 MB / 0.5964 GB Notification: Performance of collectInitialEqns (initialization): time 5.768e-05/1.453, allocations: 102 kB / 0.95 GB, free: 79.43 MB / 0.5964 GB Notification: Performance of collectInitialBindings (initialization): time 2.485e-05/1.453, allocations: 43.02 kB / 0.95 GB, free: 79.39 MB / 0.5964 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.017e-05/1.453, allocations: 7.938 kB / 0.95 GB, free: 79.38 MB / 0.5964 GB Notification: Performance of setup shared object (initialization): time 8.529e-05/1.454, allocations: 321.8 kB / 0.9503 GB, free: 79.07 MB / 0.5964 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.351e-05/1.454, allocations: 45.12 kB / 0.9504 GB, free: 79.04 MB / 0.5964 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/1.454, allocations: 83.42 kB / 0.9505 GB, free: 78.97 MB / 0.5964 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005772/1.454, allocations: 141.9 kB / 0.9506 GB, free: 78.86 MB / 0.5964 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/1.454, allocations: 3.906 kB / 0.9506 GB, free: 78.86 MB / 0.5964 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0007051/1.455, allocations: 264.6 kB / 0.9509 GB, free: 78.64 MB / 0.5964 GB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/1.455, allocations: 4 kB / 0.9509 GB, free: 78.63 MB / 0.5964 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/1.455, allocations: 0 / 0.9509 GB, free: 78.63 MB / 0.5964 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.067e-05/1.455, allocations: 4 kB / 0.9509 GB, free: 78.63 MB / 0.5964 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002929/1.455, allocations: 67.98 kB / 0.9509 GB, free: 78.56 MB / 0.5964 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/1.455, allocations: 0 / 0.9509 GB, free: 78.56 MB / 0.5964 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000175/1.456, allocations: 31.73 kB / 0.951 GB, free: 78.53 MB / 0.5964 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.336e-05/1.456, allocations: 11.75 kB / 0.951 GB, free: 78.52 MB / 0.5964 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.0001035/1.456, allocations: 108.9 kB / 0.9511 GB, free: 78.41 MB / 0.5964 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.188e-05/1.456, allocations: 15.8 kB / 0.9511 GB, free: 78.39 MB / 0.5964 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004429/1.456, allocations: 152 kB / 0.9512 GB, free: 78.27 MB / 0.5964 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/1.456, allocations: 3.906 kB / 0.9512 GB, free: 78.27 MB / 0.5964 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/1.456, allocations: 0.625 kB / 0.9512 GB, free: 78.27 MB / 0.5964 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/1.456, allocations: 0 / 0.9512 GB, free: 78.27 MB / 0.5964 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001956/1.457, allocations: 191 kB / 0.9514 GB, free: 78.06 MB / 0.5964 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/1.457, allocations: 0 / 0.9514 GB, free: 78.06 MB / 0.5964 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001769/1.457, allocations: 48.38 kB / 0.9515 GB, free: 78.01 MB / 0.5964 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/1.457, allocations: 0 / 0.9515 GB, free: 78.01 MB / 0.5964 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.533e-05/1.457, allocations: 0 / 0.9515 GB, free: 78.01 MB / 0.5964 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/1.457, allocations: 0 / 0.9515 GB, free: 78.01 MB / 0.5964 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/1.457, allocations: 1.312 kB / 0.9515 GB, free: 78.01 MB / 0.5964 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000403/1.457, allocations: 241 kB / 0.9517 GB, free: 77.79 MB / 0.5964 GB Notification: Performance of postOpt removeConstants (simulation): time 4.621e-05/1.457, allocations: 85.02 kB / 0.9518 GB, free: 77.69 MB / 0.5964 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.248e-05/1.457, allocations: 7.891 kB / 0.9518 GB, free: 77.68 MB / 0.5964 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001548/1.457, allocations: 19.98 kB / 0.9518 GB, free: 77.66 MB / 0.5964 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.724e-05/1.458, allocations: 11.8 kB / 0.9518 GB, free: 77.65 MB / 0.5964 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-06/1.458, allocations: 5.406 kB / 0.9518 GB, free: 77.65 MB / 0.5964 GB Notification: Performance of sort global known variables: time 6.45e-05/1.458, allocations: 102.6 kB / 0.9519 GB, free: 77.55 MB / 0.5964 GB Notification: Performance of remove unused functions: time 0.000345/1.458, allocations: 59.81 kB / 0.952 GB, free: 77.5 MB / 0.5964 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.0003541/1.458, allocations: 192.3 kB / 0.9522 GB, free: 77.31 MB / 0.5964 GB Notification: Performance of simCode: created initialization part: time 0.0002489/1.459, allocations: 116.5 kB / 0.9523 GB, free: 77.23 MB / 0.5964 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/1.459, allocations: 0 / 0.9523 GB, free: 77.23 MB / 0.5964 GB Notification: Performance of simCode: created simulation system equations: time 7.052e-05/1.459, allocations: 38.81 kB / 0.9523 GB, free: 77.2 MB / 0.5964 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002727/1.459, allocations: 18.55 kB / 0.9523 GB, free: 77.19 MB / 0.5964 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004393/1.459, allocations: 143.9 kB / 0.9525 GB, free: 77.04 MB / 0.5964 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002622/1.46, allocations: 0.7389 MB / 0.9532 GB, free: 76.28 MB / 0.5964 GB Notification: Performance of SimCode: time 2.11e-07/1.46, allocations: 0 / 0.9532 GB, free: 76.28 MB / 0.5964 GB Notification: Performance of Templates: time 0.006289/1.466, allocations: 2.801 MB / 0.9559 GB, free: 73.56 MB / 0.5964 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)