Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.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.DXCoils.BaseClasses.Examples.DryCoil,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryCoil",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.176/2.176, allocations: 390.4 MB / 397.7 MB, free: 11.27 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.001562/0.001562, allocations: 189.2 kB / 490.8 MB, free: 1.93 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.653/1.653, allocations: 221.3 MB / 0.7863 GB, free: 13.66 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.001072/0.001072, allocations: 87.62 kB / 0.9264 GB, free: 14.19 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.735/0.7361, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2965/1.033, allocations: 143 MB / 1.212 GB, free: 39.99 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.255/5.288, allocations: 1.728 GB / 2.94 GB, free: 113.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002809/5.288, allocations: 99.3 kB / 2.94 GB, free: 113.4 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.09293/5.381, allocations: 43.12 MB / 2.982 GB, free: 76.14 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/5.381, allocations: 11.94 kB / 2.982 GB, free: 76.13 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006811/5.388, allocations: 0.7002 MB / 2.983 GB, free: 75.43 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004042/5.392, allocations: 1.74 MB / 2.985 GB, free: 73.64 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004423/5.392, allocations: 132 kB / 2.985 GB, free: 73.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003214/5.393, allocations: 20 kB / 2.985 GB, free: 73.48 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004047/5.397, allocations: 2.906 MB / 2.988 GB, free: 70.57 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002794/5.399, allocations: 2.034 MB / 2.99 GB, free: 68.53 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/5.399, allocations: 0 / 2.99 GB, free: 68.53 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002552/5.4, allocations: 8 kB / 2.99 GB, free: 68.52 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/5.4, allocations: 8 kB / 2.99 GB, free: 68.51 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01079/5.411, allocations: 5.186 MB / 2.995 GB, free: 63.29 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002784/5.413, allocations: 2.48 MB / 2.997 GB, free: 60.79 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001425/5.415, allocations: 1.291 MB / 2.998 GB, free: 59.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001038/5.415, allocations: 20.42 kB / 2.998 GB, free: 59.48 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002282/5.417, allocations: 1.888 MB / 3 GB, free: 57.57 MB / 1.151 GB Notification: Performance of pre-optimization done (n=61): time 5.721e-06/5.417, allocations: 0 / 3 GB, free: 57.57 MB / 1.151 GB Notification: Performance of matching and sorting (n=61): time 0.004971/5.422, allocations: 2.759 MB / 3.003 GB, free: 54.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.485e-05/5.422, allocations: 93.61 kB / 3.003 GB, free: 54.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004501/5.427, allocations: 2.441 MB / 3.005 GB, free: 52.26 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0004477/5.427, allocations: 45.69 kB / 3.005 GB, free: 52.21 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000353/5.428, allocations: 289.2 kB / 3.006 GB, free: 51.92 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003383/5.428, allocations: 177.5 kB / 3.006 GB, free: 51.75 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001508/5.428, allocations: 0 / 3.006 GB, free: 51.75 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.627e-05/5.428, allocations: 337.9 kB / 3.006 GB, free: 51.41 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001683/5.43, allocations: 1.65 MB / 3.008 GB, free: 49.75 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001643/5.432, allocations: 1.617 MB / 3.009 GB, free: 48.14 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00265/5.434, allocations: 1.529 MB / 3.011 GB, free: 46.61 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/5.434, allocations: 0 / 3.011 GB, free: 46.61 MB / 1.151 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.005493/5.44, allocations: 3.472 MB / 3.014 GB, free: 43.12 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.561e-05/5.44, allocations: 8 kB / 3.014 GB, free: 43.12 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/5.44, allocations: 3.984 kB / 3.014 GB, free: 43.11 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.872e-05/5.44, allocations: 0 / 3.014 GB, free: 43.11 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001598/5.442, allocations: 231.7 kB / 3.014 GB, free: 42.89 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.433e-05/5.442, allocations: 4 kB / 3.014 GB, free: 42.88 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001876/5.443, allocations: 103.7 kB / 3.015 GB, free: 42.78 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003072/5.444, allocations: 115.9 kB / 3.015 GB, free: 42.67 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition9,dryCoi.cooCap.stage,$PRE.dryCoi.cooCap.checkBoundsTEva[1],dryCoi.cooCap.checkBoundsTEva[1],$PRE.dryCoi.cooCap.checkBoundsTEva[2],dryCoi.cooCap.checkBoundsTEva[2],$PRE.dryCoi.cooCap.checkBoundsTEva[3],dryCoi.cooCap.checkBoundsTEva[3],$PRE.dryCoi.cooCap.checkBoundsTEva[4],dryCoi.cooCap.checkBoundsTEva[4],$PRE.dryCoi.cooCap.checkBoundsTCon[1],dryCoi.cooCap.checkBoundsTCon[1],$PRE.dryCoi.cooCap.checkBoundsTCon[2],dryCoi.cooCap.checkBoundsTCon[2],$PRE.dryCoi.cooCap.checkBoundsTCon[3],dryCoi.cooCap.checkBoundsTCon[3],$PRE.dryCoi.cooCap.checkBoundsTCon[4],dryCoi.cooCap.checkBoundsTCon[4],speRat.a,speRat.b,speRat.last,$PRE.speRat.nextEvent,speRat.nextEvent,speRat.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 2 * 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.000588/5.444, allocations: 170.5 kB / 3.015 GB, free: 42.49 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008206/5.445, allocations: 165.9 kB / 3.015 GB, free: 42.32 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005905/5.451, allocations: 3.16 MB / 3.018 GB, free: 39.16 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/5.451, allocations: 8 kB / 3.018 GB, free: 39.15 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/5.451, allocations: 4 kB / 3.018 GB, free: 39.14 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/5.451, allocations: 3.984 kB / 3.018 GB, free: 39.14 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003439/5.455, allocations: 2.473 MB / 3.021 GB, free: 36.63 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/5.455, allocations: 0 / 3.021 GB, free: 36.63 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001565/5.456, allocations: 227.7 kB / 3.021 GB, free: 36.41 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.266e-05/5.456, allocations: 3.906 kB / 3.021 GB, free: 36.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001825/5.456, allocations: 51.92 kB / 3.021 GB, free: 36.35 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/5.456, allocations: 0 / 3.021 GB, free: 36.35 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/5.456, allocations: 0 / 3.021 GB, free: 36.35 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004593/5.461, allocations: 2.816 MB / 3.024 GB, free: 33.52 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004615/5.466, allocations: 3.23 MB / 3.027 GB, free: 30.26 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001597/5.467, allocations: 0.7682 MB / 3.027 GB, free: 29.47 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006742/5.468, allocations: 51.89 kB / 3.028 GB, free: 29.42 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00264/5.471, allocations: 159.8 kB / 3.028 GB, free: 29.27 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002735/5.471, allocations: 60.41 kB / 3.028 GB, free: 29.21 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004454/5.471, allocations: 115.9 kB / 3.028 GB, free: 29.09 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.005526/5.477, allocations: 1.876 MB / 3.03 GB, free: 27.23 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.004468/5.481, allocations: 447.6 kB / 3.03 GB, free: 26.79 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 23 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition9,dryCoi.cooCap.stage,dryCoi.cooCap.checkBoundsTEva[1],dryCoi.cooCap.checkBoundsTEva[2],dryCoi.cooCap.checkBoundsTEva[3],dryCoi.cooCap.checkBoundsTEva[4],dryCoi.cooCap.checkBoundsTCon[1],dryCoi.cooCap.checkBoundsTCon[2],dryCoi.cooCap.checkBoundsTCon[3],dryCoi.cooCap.checkBoundsTCon[4],speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled) * Number of discrete states: 9 (speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition9,dryCoi.cooCap.stage,dryCoi.cooCap.checkBoundsTEva[dryCoi.cooCap.stage],dryCoi.cooCap.checkBoundsTCon[dryCoi.cooCap.stage]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 8 * 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.002255/5.484, allocations: 470.5 kB / 3.031 GB, free: 26.33 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.006095/5.49, allocations: 3.159 MB / 3.034 GB, free: 23.16 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.663e-06/5.49, allocations: 0 / 3.034 GB, free: 23.16 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.00271/5.493, allocations: 1.429 MB / 3.035 GB, free: 21.72 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003162/5.496, allocations: 378.3 kB / 3.035 GB, free: 21.35 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008346/5.504, allocations: 3.756 MB / 3.039 GB, free: 17.56 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002564/5.507, allocations: 1.81 MB / 3.041 GB, free: 15.71 MB / 1.151 GB Notification: Performance of SimCode: time 1.452e-06/5.507, allocations: 4 kB / 3.041 GB, free: 15.71 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryCoil_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryCoil.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe 2>&1)