Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") translateModel(BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") [: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.7309/0.7309, allocations: 127.4 MB / 134.6 MB, free: 4.043 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001518/0.001518, allocations: 193.2 kB / 164.4 MB, free: 6.828 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.012/2.012, allocations: 205.1 MB / 399.1 MB, free: 6.031 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001029/0.001029, allocations: 91.33 kB / 476.3 MB, free: 8.773 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 8.335e-06/8.365e-06, allocations: 0 / 0.546 GB, free: 42.68 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2034/0.2034, allocations: 76.75 MB / 0.6209 GB, free: 13.85 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6012/0.8047, allocations: 103.8 MB / 0.7223 GB, free: 8.465 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002324/0.805, allocations: 79.94 kB / 0.7224 GB, free: 8.387 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.01705/0.822, allocations: 5.197 MB / 0.7275 GB, free: 3.195 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.845e-05/0.8221, allocations: 4 kB / 0.7275 GB, free: 3.191 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006038/0.8227, allocations: 398.1 kB / 0.7278 GB, free: 2.758 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.483e-05/0.8228, allocations: 8.031 kB / 0.7278 GB, free: 2.75 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001798/0.823, allocations: 7.906 kB / 0.7279 GB, free: 2.742 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003349/0.8233, allocations: 194.9 kB / 0.728 GB, free: 2.512 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.8234, allocations: 0 / 0.728 GB, free: 2.512 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.507e-05/0.8234, allocations: 8 kB / 0.728 GB, free: 2.504 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001211/0.8235, allocations: 27.98 kB / 0.7281 GB, free: 2.477 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001259/0.8236, allocations: 53.61 kB / 0.7281 GB, free: 2.418 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.8237, allocations: 0 / 0.7281 GB, free: 2.418 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.8237, allocations: 4 kB / 0.7281 GB, free: 2.414 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.8237, allocations: 0 / 0.7281 GB, free: 2.414 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000688/0.8244, allocations: 273.3 kB / 0.7284 GB, free: 2.109 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001279/0.8245, allocations: 50.47 kB / 0.7284 GB, free: 2.051 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.727e-05/0.8246, allocations: 16.98 kB / 0.7285 GB, free: 2.031 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.23e-05/0.8247, allocations: 7.984 kB / 0.7285 GB, free: 2.023 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.053e-05/0.8247, allocations: 42.44 kB / 0.7285 GB, free: 1.973 MB / 490.7 MB Notification: Performance of pre-optimization done (n=5): time 1.543e-06/0.8247, allocations: 0 / 0.7285 GB, free: 1.973 MB / 490.7 MB Notification: Performance of matching and sorting (n=5): time 0.000436/0.8252, allocations: 66.53 kB / 0.7286 GB, free: 1.902 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.879e-05/0.8252, allocations: 51.41 kB / 0.7286 GB, free: 1.84 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.8254, allocations: 113.2 kB / 0.7287 GB, free: 1.719 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.508e-05/0.8254, allocations: 25.7 kB / 0.7287 GB, free: 1.688 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.2e-05/0.8255, allocations: 88.14 kB / 0.7288 GB, free: 1.598 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.576e-05/0.8255, allocations: 11.75 kB / 0.7288 GB, free: 1.586 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.843e-06/0.8255, allocations: 4 kB / 0.7288 GB, free: 1.582 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001815/0.8257, allocations: 327.5 kB / 0.7292 GB, free: 1.254 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.512e-05/0.8258, allocations: 12 kB / 0.7292 GB, free: 1.242 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.321e-05/0.8258, allocations: 12 kB / 0.7292 GB, free: 1.23 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.335e-05/0.8259, allocations: 19.92 kB / 0.7292 GB, free: 1.211 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.3e-05/0.8259, allocations: 4 kB / 0.7292 GB, free: 1.207 MB / 490.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001871/0.8261, allocations: 69.53 kB / 0.7293 GB, free: 1.133 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.8261, allocations: 6.031 kB / 0.7293 GB, free: 1.129 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.8261, allocations: 0 / 0.7293 GB, free: 1.129 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.8262, allocations: 0 / 0.7293 GB, free: 1.129 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001535/0.8263, allocations: 19.98 kB / 0.7293 GB, free: 1.109 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/0.8264, allocations: 0.7031 kB / 0.7293 GB, free: 1.109 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.647e-05/0.8264, allocations: 11.98 kB / 0.7293 GB, free: 1.098 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.8265, allocations: 3.906 kB / 0.7293 GB, free: 1.094 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (6): * Single equations (assignments): 6 * 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.0001052/0.8266, allocations: 105 kB / 0.7294 GB, free: 0.9844 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.076e-05/0.8267, allocations: 11.91 kB / 0.7294 GB, free: 0.9727 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002515/0.8269, allocations: 81.78 kB / 0.7295 GB, free: 0.8906 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.8269, allocations: 0 / 0.7295 GB, free: 0.8906 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.8269, allocations: 0 / 0.7295 GB, free: 0.8906 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/0.827, allocations: 4 kB / 0.7295 GB, free: 0.8867 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002177/0.8272, allocations: 158.4 kB / 0.7297 GB, free: 0.6953 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.8272, allocations: 4 kB / 0.7297 GB, free: 0.6914 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/0.8273, allocations: 19.98 kB / 0.7297 GB, free: 0.6719 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.8273, allocations: 4 kB / 0.7297 GB, free: 0.668 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.8273, allocations: 0 / 0.7297 GB, free: 0.668 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.8273, allocations: 0 / 0.7297 GB, free: 0.668 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.8274, allocations: 0 / 0.7297 GB, free: 0.668 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002625/0.8276, allocations: 171.3 kB / 0.7298 GB, free: 496 kB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.562e-05/0.8277, allocations: 88.89 kB / 0.7299 GB, free: 388 kB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.096e-05/0.8277, allocations: 4 kB / 0.7299 GB, free: 384 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.8278, allocations: 8 kB / 0.7299 GB, free: 376 kB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.622e-05/0.8279, allocations: 3.984 kB / 0.7299 GB, free: 372 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.146e-06/0.8279, allocations: 7.938 kB / 0.73 GB, free: 364 kB / 490.7 MB Notification: Performance of sort global known variables: time 8.418e-05/0.828, allocations: 99.27 kB / 0.73 GB, free: 264 kB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002722/0.8283, allocations: 20 kB / 0.7301 GB, free: 244 kB / 490.7 MB 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 (6): * Single equations (assignments): 6 * 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.0002706/0.8286, allocations: 115.3 kB / 0.7302 GB, free: 120 kB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001527/0.8287, allocations: 35.98 kB / 0.7302 GB, free: 84 kB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.8287, allocations: 4 kB / 0.7302 GB, free: 80 kB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.469e-05/0.8288, allocations: 19.94 kB / 0.7302 GB, free: 60 kB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002719/0.8291, allocations: 19.83 kB / 0.7303 GB, free: 40 kB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003964/0.8295, allocations: 95.84 kB / 0.7303 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004647/0.83, allocations: 0.7075 MB / 0.731 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of SimCode: time 6.41e-07/0.83, allocations: 0 / 0.731 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of Templates: time 0.00449/0.8345, allocations: 1.063 MB / 0.7321 GB, free: 14.14 MB / 0.4948 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)