Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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) 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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) [: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 10.0.0-master/package.mo): time 2.207/2.207, allocations: 390.4 MB / 397.7 MB, free: 11.23 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001509/0.001509, allocations: 191.8 kB / 490.8 MB, free: 1.906 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.788/1.788, allocations: 221.4 MB / 0.7863 GB, free: 13.61 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0011/0.001101, allocations: 84.69 kB / 0.9264 GB, free: 14.15 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.7931/0.7942, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3479/1.142, allocations: 143 MB / 1.212 GB, free: 39.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.276/2.419, allocations: 401.5 MB / 1.604 GB, free: 13.39 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002558/2.419, allocations: 82.02 kB / 1.604 GB, free: 13.36 MB / 1.026 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 260 * Number of variables: 260 Notification: Performance of Generate backend data structure: time 3.542/5.961, allocations: 0.9549 GB / 2.559 GB, free: 70.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.367e-05/5.961, allocations: 8 kB / 2.559 GB, free: 70.89 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003937/5.965, allocations: 0.6689 MB / 2.559 GB, free: 70.22 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005071/5.97, allocations: 1.454 MB / 2.561 GB, free: 68.71 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.442e-05/5.97, allocations: 32 kB / 2.561 GB, free: 68.68 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004953/5.971, allocations: 71.91 kB / 2.561 GB, free: 68.61 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002414/5.973, allocations: 0.8592 MB / 2.562 GB, free: 67.75 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002512/5.976, allocations: 1.055 MB / 2.563 GB, free: 66.63 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.139e-05/5.976, allocations: 4 kB / 2.563 GB, free: 66.63 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001317/5.976, allocations: 3.938 kB / 2.563 GB, free: 66.62 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.603e-05/5.976, allocations: 28 kB / 2.563 GB, free: 66.6 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009967/5.986, allocations: 6.46 MB / 2.569 GB, free: 59.67 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001555/5.988, allocations: 0.8578 MB / 2.57 GB, free: 58.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006869/5.988, allocations: 0.502 MB / 2.57 GB, free: 58.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001478/5.99, allocations: 2.268 MB / 2.573 GB, free: 55.53 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008537/5.991, allocations: 0.6503 MB / 2.573 GB, free: 54.85 MB / 1.151 GB Notification: Performance of pre-optimization done (n=100): time 4.248e-06/5.991, allocations: 0 / 2.573 GB, free: 54.85 MB / 1.151 GB Notification: Performance of matching and sorting (n=100): time 0.003867/5.995, allocations: 1.367 MB / 2.575 GB, free: 53.48 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.357e-05/5.995, allocations: 149.3 kB / 2.575 GB, free: 53.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001772/5.997, allocations: 0.8858 MB / 2.576 GB, free: 52.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001266/5.997, allocations: 29.7 kB / 2.576 GB, free: 52.37 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004273/5.997, allocations: 445.8 kB / 2.576 GB, free: 51.93 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000336/5.997, allocations: 315.3 kB / 2.576 GB, free: 51.61 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.096e-05/5.998, allocations: 0 / 2.576 GB, free: 51.61 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.515e-05/5.998, allocations: 349.9 kB / 2.577 GB, free: 51.27 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006543/5.998, allocations: 401.9 kB / 2.577 GB, free: 50.88 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007563/5.999, allocations: 0.6437 MB / 2.578 GB, free: 50.14 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002228/6.001, allocations: 0.7307 MB / 2.578 GB, free: 49.41 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/6.001, allocations: 4 kB / 2.578 GB, free: 49.41 MB / 1.151 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003748/6.005, allocations: 1.473 MB / 2.58 GB, free: 47.93 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003786/6.006, allocations: 1.614 MB / 2.582 GB, free: 46.22 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.643e-05/6.006, allocations: 4 kB / 2.582 GB, free: 46.22 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.587e-05/6.006, allocations: 8 kB / 2.582 GB, free: 46.21 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001383/6.007, allocations: 291.6 kB / 2.582 GB, free: 45.93 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.982e-05/6.007, allocations: 11.91 kB / 2.582 GB, free: 45.91 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001931/6.009, allocations: 211.1 kB / 2.582 GB, free: 45.71 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002025/6.009, allocations: 59.97 kB / 2.582 GB, free: 45.65 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/6.009, allocations: 8 kB / 2.582 GB, free: 45.64 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003446/6.013, allocations: 1.285 MB / 2.583 GB, free: 44.36 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/6.013, allocations: 4.531 kB / 2.583 GB, free: 44.35 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/6.013, allocations: 8 kB / 2.583 GB, free: 44.34 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001271/6.014, allocations: 303.2 kB / 2.584 GB, free: 44.05 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.04e-05/6.014, allocations: 8 kB / 2.584 GB, free: 44.04 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002153/6.016, allocations: 215 kB / 2.584 GB, free: 43.83 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001996/6.016, allocations: 63.91 kB / 2.584 GB, free: 43.77 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,$PRE.TSetHeat.nextEvent,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,$PRE.TSetCool.nextEvent,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,$PRE.TSetCoolHeat.nextEvent,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 3 * 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.0004456/6.017, allocations: 236.2 kB / 2.584 GB, free: 43.52 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006086/6.017, allocations: 154.2 kB / 2.584 GB, free: 43.36 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005475/6.023, allocations: 2.106 MB / 2.586 GB, free: 41.25 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.083e-05/6.023, allocations: 19.98 kB / 2.586 GB, free: 41.23 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.355e-05/6.023, allocations: 0 / 2.586 GB, free: 41.23 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.803e-05/6.023, allocations: 5.922 kB / 2.586 GB, free: 41.22 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007948/6.031, allocations: 3.212 MB / 2.589 GB, free: 37.95 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.487e-05/6.031, allocations: 3.906 kB / 2.589 GB, free: 37.95 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001315/6.032, allocations: 251.8 kB / 2.59 GB, free: 37.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.726e-05/6.032, allocations: 4 kB / 2.59 GB, free: 37.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001327/6.033, allocations: 35.97 kB / 2.59 GB, free: 37.66 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.294e-05/6.033, allocations: 4 kB / 2.59 GB, free: 37.66 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/6.033, allocations: 0 / 2.59 GB, free: 37.66 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005165/6.038, allocations: 2.678 MB / 2.592 GB, free: 34.91 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006318/6.044, allocations: 3.921 MB / 2.596 GB, free: 30.91 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001243/6.045, allocations: 404 kB / 2.597 GB, free: 30.49 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005488/6.046, allocations: 16 kB / 2.597 GB, free: 30.48 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001777/6.048, allocations: 168.7 kB / 2.597 GB, free: 30.31 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001588/6.048, allocations: 72.83 kB / 2.597 GB, free: 30.24 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001458/6.048, allocations: 59.97 kB / 2.597 GB, free: 30.18 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.001319/6.049, allocations: 0.6638 MB / 2.598 GB, free: 29.52 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00606/6.056, allocations: 1.143 MB / 2.599 GB, free: 28.38 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (heaHigPowOut.T,cooLimPowOut.T,heaCooUnlOut.T,heaHigPowIn.T,cooLimPowIn.T,heaCooUnlIn.T) * Number of discrete variables: 18 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 18 (TSetCoolHeat.nextEvent,TSetCoolHeat.last,TSetCoolHeat.nextEventScaled,TSetCoolHeat.b,TSetCoolHeat.a,$whenCondition3,TSetCool.nextEvent,TSetCool.last,TSetCool.nextEventScaled,TSetCool.b,TSetCool.a,$whenCondition2,TSetHeat.nextEvent,TSetHeat.last,TSetHeat.nextEventScaled,TSetHeat.b,TSetHeat.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 19 * 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.003178/6.059, allocations: 0.9728 MB / 2.6 GB, free: 27.41 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003508/6.062, allocations: 1.929 MB / 2.602 GB, free: 25.45 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 8.796e-06/6.062, allocations: 4 kB / 2.602 GB, free: 25.44 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001282/6.064, allocations: 0.8155 MB / 2.602 GB, free: 24.61 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003546/6.067, allocations: 0.495 MB / 2.603 GB, free: 24.11 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006367/6.074, allocations: 2.492 MB / 2.605 GB, free: 21.55 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001929/6.075, allocations: 1.498 MB / 2.607 GB, free: 20.02 MB / 1.151 GB Notification: Performance of SimCode: time 1.102e-06/6.076, allocations: 0 / 2.607 GB, free: 20.02 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe 2>&1)