Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.HeaterCoolerPrescribed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.HeaterCoolerPrescribed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.HeaterCoolerPrescribed") translateModel(Buildings.Fluid.HeatExchangers.Examples.HeaterCoolerPrescribed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.HeaterCoolerPrescribed") [: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/Buildings 1.6.0+build.1/package.mo): time 0.5027/0.5027, allocations: 94.74 MB / 102 MB, free: 10.35 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001239/0.001239, allocations: 179.3 kB / 125.3 MB, free: 11.98 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.271/1.271, allocations: 170.5 MB / 319 MB, free: 9.395 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00186/0.00186, allocations: 114.2 kB / 381 MB, free: 18.14 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.077e-06/9.117e-06, allocations: 0 / 448.6 MB, free: 2.113 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1498, allocations: 61.52 MB / 0.4981 GB, free: 4.496 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.161/1.311, allocations: 451.9 MB / 0.9394 GB, free: 147.2 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002531/1.312, allocations: 84.59 kB / 0.9395 GB, free: 147.2 MB / 0.5261 GB Notification: Performance of FrontEnd: time 0.9138/2.225, allocations: 329.1 MB / 1.261 GB, free: 50.66 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0003127/2.226, allocations: 38.73 kB / 1.261 GB, free: 50.62 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 255 * Number of variables: 255 Notification: Performance of Generate backend data structure: time 0.004737/2.231, allocations: 1.644 MB / 1.263 GB, free: 48.93 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/2.231, allocations: 16.02 kB / 1.263 GB, free: 48.91 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001427/2.232, allocations: 205.7 kB / 1.263 GB, free: 48.71 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005983/2.238, allocations: 1.548 MB / 1.264 GB, free: 47.14 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001079/2.238, allocations: 35.94 kB / 1.264 GB, free: 47.1 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005339/2.239, allocations: 63.98 kB / 1.264 GB, free: 47.04 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002243/2.241, allocations: 0.7069 MB / 1.265 GB, free: 46.33 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001665/2.243, allocations: 0.9813 MB / 1.266 GB, free: 45.28 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.687e-05/2.243, allocations: 3.938 kB / 1.266 GB, free: 45.28 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.984e-05/2.243, allocations: 4 kB / 1.266 GB, free: 45.27 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.267e-05/2.243, allocations: 24 kB / 1.266 GB, free: 45.25 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006553/2.249, allocations: 5.2 MB / 1.271 GB, free: 39.77 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005496/2.25, allocations: 408.7 kB / 1.271 GB, free: 39.36 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003415/2.25, allocations: 290.6 kB / 1.272 GB, free: 39.08 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006936/2.251, allocations: 1.005 MB / 1.273 GB, free: 37.86 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004644/2.252, allocations: 386.2 kB / 1.273 GB, free: 37.45 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=66): time 3.867e-06/2.252, allocations: 0 / 1.273 GB, free: 37.45 MB / 0.5261 GB Notification: Performance of matching and sorting (n=69): time 0.005401/2.257, allocations: 2.004 MB / 1.275 GB, free: 35.39 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.378e-05/2.257, allocations: 265.7 kB / 1.275 GB, free: 35.07 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001419/2.258, allocations: 0.8722 MB / 1.276 GB, free: 34.19 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.059e-05/2.259, allocations: 26.14 kB / 1.276 GB, free: 34.16 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004211/2.259, allocations: 492.9 kB / 1.277 GB, free: 33.67 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000191/2.259, allocations: 232.5 kB / 1.277 GB, free: 33.44 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-05/2.259, allocations: 4 kB / 1.277 GB, free: 33.43 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.01e-05/2.259, allocations: 337.9 kB / 1.277 GB, free: 33.1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003484/2.26, allocations: 246 kB / 1.277 GB, free: 32.86 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004864/2.26, allocations: 0.5255 MB / 1.278 GB, free: 32.21 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001205/2.261, allocations: 470.3 kB / 1.278 GB, free: 31.75 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/2.261, allocations: 4 kB / 1.278 GB, free: 31.75 MB / 0.5261 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002362/2.264, allocations: 1.06 MB / 1.279 GB, free: 30.67 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004986/2.264, allocations: 2.388 MB / 1.282 GB, free: 28.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.512e-05/2.264, allocations: 8 kB / 1.282 GB, free: 28.12 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003267/2.265, allocations: 138.4 kB / 1.282 GB, free: 27.98 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008085/2.265, allocations: 191.7 kB / 1.282 GB, free: 27.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002518/2.268, allocations: 3.4 MB / 1.285 GB, free: 24.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001105/2.269, allocations: 68 kB / 1.285 GB, free: 24.06 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001099/2.269, allocations: 40 kB / 1.286 GB, free: 24.02 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.975e-06/2.269, allocations: 4 kB / 1.286 GB, free: 24.02 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002022/2.271, allocations: 0.9641 MB / 1.286 GB, free: 23.03 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.49e-05/2.271, allocations: 8 kB / 1.286 GB, free: 23.02 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002466/2.272, allocations: 130.5 kB / 1.287 GB, free: 22.88 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007277/2.272, allocations: 200 kB / 1.287 GB, free: 22.69 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002684/2.275, allocations: 4.208 MB / 1.291 GB, free: 18.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001152/2.276, allocations: 71.89 kB / 1.291 GB, free: 18.07 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.472e-05/2.276, allocations: 47.92 kB / 1.291 GB, free: 18.02 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002935/2.277, allocations: 154.5 kB / 1.291 GB, free: 17.86 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003429/2.277, allocations: 138.3 kB / 1.291 GB, free: 17.72 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002595/2.28, allocations: 0.9454 MB / 1.292 GB, free: 16.76 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.225e-05/2.28, allocations: 4 kB / 1.292 GB, free: 16.76 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/2.28, allocations: 0 / 1.292 GB, free: 16.76 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/2.28, allocations: 11.98 kB / 1.292 GB, free: 16.75 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004312/2.284, allocations: 1.895 MB / 1.294 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/2.284, allocations: 4 kB / 1.294 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006101/2.285, allocations: 123.9 kB / 1.294 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001823/2.285, allocations: 81.56 kB / 1.294 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-05/2.285, allocations: 7.984 kB / 1.294 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001385/2.286, allocations: 1.988 MB / 1.296 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/2.286, allocations: 4.125 kB / 1.296 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002277/2.288, allocations: 1.305 MB / 1.298 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006634/2.289, allocations: 295.4 kB / 1.298 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003508/2.29, allocations: 7.906 kB / 1.298 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008933/2.29, allocations: 65.11 kB / 1.298 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.118e-05/2.291, allocations: 32.61 kB / 1.298 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.421e-05/2.291, allocations: 27.98 kB / 1.298 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.001125/2.292, allocations: 0.6449 MB / 1.299 GB, free: 10.06 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00311/2.295, allocations: 0.7067 MB / 1.299 GB, free: 9.352 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (senTem1.T,con1.I.y,heaDyn.vol.dynBal.medium.T,senTem2.T,con2.I.y) * Number of discrete variables: 5 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent) * Number of discrete states: 5 (TSet.last,TSet.nextEvent,TSet.b,TSet.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001569/2.296, allocations: 474.3 kB / 1.3 GB, free: 8.906 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0027/2.299, allocations: 1.681 MB / 1.301 GB, free: 7.164 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.754e-06/2.299, allocations: 4 kB / 1.301 GB, free: 7.16 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000636/2.3, allocations: 473.8 kB / 1.302 GB, free: 6.684 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002822/2.303, allocations: 0.5277 MB / 1.302 GB, free: 6.16 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004473/2.307, allocations: 1.809 MB / 1.304 GB, free: 4.312 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001106/2.308, allocations: 1.349 MB / 1.305 GB, free: 2.934 MB / 0.5261 GB Notification: Performance of SimCode: time 9.92e-07/2.308, allocations: 0 / 1.305 GB, free: 2.934 MB / 0.5261 GB Notification: Performance of Templates: time 0.2953/2.604, allocations: 28.07 MB / 1.333 GB, free: 137.5 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.HeaterCoolerPrescribed.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.HeaterCoolerPrescribed.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.HeaterCoolerPrescribed.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.HeaterCoolerPrescribed.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.HeaterCoolerPrescribed.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.HeaterCoolerPrescribed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.HeaterCoolerPrescribed.pipe 2>&1)