Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.088/2.088, allocations: 253.1 MB / 260.4 MB, free: 7.48 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002301/0.002301, allocations: 193.2 kB / 319.6 MB, free: 3.316 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.937/1.937, allocations: 205.4 MB / 0.5704 GB, free: 14.96 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001361/0.001361, allocations: 91.31 kB / 0.6746 GB, free: 4.309 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.158e-05/1.173e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2315/0.2315, allocations: 106.2 MB / 0.8881 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.825/6.056, allocations: 2.189 GB / 3.077 GB, free: 173.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003703/6.057, allocations: 100.9 kB / 3.077 GB, free: 173.5 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.1702/6.227, allocations: 41.22 MB / 3.117 GB, free: 139.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001245/6.227, allocations: 20 kB / 3.117 GB, free: 139.9 MB / 0.8698 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.004416/6.232, allocations: 1.434 MB / 3.118 GB, free: 138.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/6.232, allocations: 12.03 kB / 3.119 GB, free: 138.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01233/6.244, allocations: 0.6963 MB / 3.119 GB, free: 137.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005511/6.25, allocations: 1.74 MB / 3.121 GB, free: 135.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004879/6.25, allocations: 136 kB / 3.121 GB, free: 135.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003873/6.251, allocations: 24 kB / 3.121 GB, free: 135.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007315/6.258, allocations: 2.902 MB / 3.124 GB, free: 132.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005134/6.263, allocations: 2.031 MB / 3.126 GB, free: 130.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.741e-05/6.263, allocations: 0 / 3.126 GB, free: 130.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003628/6.264, allocations: 4 kB / 3.126 GB, free: 130.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.37e-05/6.264, allocations: 8 kB / 3.126 GB, free: 130.8 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01778/6.281, allocations: 5.174 MB / 3.131 GB, free: 125.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005587/6.287, allocations: 2.484 MB / 3.133 GB, free: 123.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002833/6.29, allocations: 1.291 MB / 3.135 GB, free: 121.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001268/6.29, allocations: 20.41 kB / 3.135 GB, free: 121.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003917/6.294, allocations: 1.88 MB / 3.136 GB, free: 119.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=61): time 5.831e-06/6.294, allocations: 3.938 kB / 3.136 GB, free: 119.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=61): time 0.008577/6.303, allocations: 2.751 MB / 3.139 GB, free: 117.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.006e-05/6.303, allocations: 97.59 kB / 3.139 GB, free: 117 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005693/6.309, allocations: 2.448 MB / 3.142 GB, free: 114.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0007339/6.309, allocations: 41.69 kB / 3.142 GB, free: 114.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004111/6.31, allocations: 293.3 kB / 3.142 GB, free: 114.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004775/6.31, allocations: 173.5 kB / 3.142 GB, free: 114.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002221/6.31, allocations: 4 kB / 3.142 GB, free: 114 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.866e-05/6.311, allocations: 330 kB / 3.142 GB, free: 113.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003307/6.314, allocations: 1.646 MB / 3.144 GB, free: 112.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003427/6.317, allocations: 1.617 MB / 3.146 GB, free: 110.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005059/6.322, allocations: 1.533 MB / 3.147 GB, free: 108.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.223e-06/6.322, allocations: 3.938 kB / 3.147 GB, free: 108.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.01019/6.333, allocations: 3.472 MB / 3.151 GB, free: 105.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.978e-05/6.333, allocations: 10.5 kB / 3.151 GB, free: 105.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/6.333, allocations: 0 / 3.151 GB, free: 105.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.553e-05/6.333, allocations: 4 kB / 3.151 GB, free: 105.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003345/6.336, allocations: 231.7 kB / 3.151 GB, free: 105.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.271e-05/6.336, allocations: 0 / 3.151 GB, free: 105.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003157/6.339, allocations: 119.6 kB / 3.151 GB, free: 105.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005384/6.34, allocations: 111.9 kB / 3.151 GB, free: 105 MB / 0.8698 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.0007229/6.341, allocations: 170.5 kB / 3.151 GB, free: 104.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007886/6.342, allocations: 165.9 kB / 3.151 GB, free: 104.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0102/6.352, allocations: 3.16 MB / 3.154 GB, free: 101.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.259e-05/6.352, allocations: 8 kB / 3.154 GB, free: 101.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/6.352, allocations: 0 / 3.154 GB, free: 101.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/6.352, allocations: 3.984 kB / 3.154 GB, free: 101.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005118/6.357, allocations: 2.473 MB / 3.157 GB, free: 98.93 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.817e-06/6.357, allocations: 0 / 3.157 GB, free: 98.93 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003188/6.36, allocations: 223.7 kB / 3.157 GB, free: 98.71 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-05/6.36, allocations: 4 kB / 3.157 GB, free: 98.71 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002843/6.361, allocations: 47.92 kB / 3.157 GB, free: 98.66 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.364e-06/6.361, allocations: 8 kB / 3.157 GB, free: 98.65 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/6.361, allocations: 3.938 kB / 3.157 GB, free: 98.65 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00826/6.369, allocations: 2.82 MB / 3.16 GB, free: 95.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002498/6.371, allocations: 0.772 MB / 3.161 GB, free: 95.01 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008191/6.372, allocations: 51.97 kB / 3.161 GB, free: 94.96 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00352/6.376, allocations: 163.8 kB / 3.161 GB, free: 94.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002897/6.376, allocations: 60.41 kB / 3.161 GB, free: 94.74 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003949/6.377, allocations: 111.9 kB / 3.161 GB, free: 94.63 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.004784/6.381, allocations: 1.88 MB / 3.163 GB, free: 92.76 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002758/6.384, allocations: 431.6 kB / 3.163 GB, free: 92.34 MB / 0.8698 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.001643/6.386, allocations: 472.8 kB / 3.164 GB, free: 91.88 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.006901/6.393, allocations: 3.147 MB / 3.167 GB, free: 88.72 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 8.726e-06/6.393, allocations: 4 kB / 3.167 GB, free: 88.72 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.003095/6.396, allocations: 1.432 MB / 3.168 GB, free: 87.28 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003014/6.399, allocations: 377.5 kB / 3.168 GB, free: 86.91 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01252/6.412, allocations: 3.756 MB / 3.172 GB, free: 83.11 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00397/6.416, allocations: 1.813 MB / 3.174 GB, free: 81.27 MB / 0.8698 GB Notification: Performance of SimCode: time 1.753e-06/6.416, allocations: 0 / 3.174 GB, free: 81.27 MB / 0.8698 GB Notification: Performance of Templates: time 0.08174/6.497, allocations: 35.62 MB / 3.209 GB, free: 45.66 MB / 0.8698 GB