Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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.Interfaces.Examples.PrescribedOutlet_TSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly") [: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.185/2.185, allocations: 253.1 MB / 260.4 MB, free: 7.531 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.001606/0.001606, allocations: 177.2 kB / 319.6 MB, free: 3.32 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.784/1.784, allocations: 205.4 MB / 0.5704 GB, free: 15.05 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.001315/0.001315, allocations: 95.61 kB / 0.6746 GB, free: 4.418 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.348e-06/9.548e-06, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2422/0.2423, allocations: 106.3 MB / 0.888 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.538/5.781, allocations: 2.186 GB / 3.074 GB, free: 176.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003207/5.781, allocations: 86.3 kB / 3.074 GB, free: 176.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.818/10.6, allocations: 0.976 GB / 4.05 GB, free: 166.8 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001637/10.6, allocations: 45.02 kB / 4.05 GB, free: 166.8 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.01086/10.61, allocations: 1.746 MB / 4.052 GB, free: 165.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/10.61, allocations: 9.469 kB / 4.052 GB, free: 165.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008284/10.62, allocations: 0.763 MB / 4.053 GB, free: 165.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005242/10.62, allocations: 1.042 MB / 4.054 GB, free: 165.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.09e-05/10.62, allocations: 31.2 kB / 4.054 GB, free: 165.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003247/10.62, allocations: 56.05 kB / 4.054 GB, free: 165.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003457/10.63, allocations: 0.972 MB / 4.055 GB, free: 164.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003361/10.63, allocations: 1.13 MB / 4.056 GB, free: 164.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.669e-05/10.63, allocations: 5 kB / 4.056 GB, free: 164.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001694/10.63, allocations: 9.031 kB / 4.056 GB, free: 164.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.469e-05/10.63, allocations: 51.86 kB / 4.056 GB, free: 164.4 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01367/10.64, allocations: 5.135 MB / 4.061 GB, free: 161 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002808/10.65, allocations: 0.8854 MB / 4.062 GB, free: 160.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001378/10.65, allocations: 495 kB / 4.062 GB, free: 160.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00188/10.65, allocations: 0.9508 MB / 4.063 GB, free: 159.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001875/10.65, allocations: 0.5914 MB / 4.064 GB, free: 159 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=82): time 6.642e-06/10.65, allocations: 1.312 kB / 4.064 GB, free: 159 MB / 0.8698 GB Notification: Performance of matching and sorting (n=82): time 0.005507/10.66, allocations: 1.157 MB / 4.065 GB, free: 158.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.722e-05/10.66, allocations: 61.41 kB / 4.065 GB, free: 158.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002146/10.66, allocations: 0.8542 MB / 4.066 GB, free: 158 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004167/10.66, allocations: 36.33 kB / 4.066 GB, free: 157.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004499/10.66, allocations: 404.4 kB / 4.066 GB, free: 157.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005157/10.66, allocations: 274.1 kB / 4.067 GB, free: 157.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/10.66, allocations: 0 / 4.067 GB, free: 157.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000105/10.66, allocations: 339.4 kB / 4.067 GB, free: 157 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001299/10.66, allocations: 426.1 kB / 4.067 GB, free: 156.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001601/10.67, allocations: 0.7354 MB / 4.068 GB, free: 156.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001564/10.67, allocations: 486.2 kB / 4.068 GB, free: 156 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.148e-05/10.67, allocations: 5.906 kB / 4.068 GB, free: 156 MB / 0.8698 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003948/10.67, allocations: 1.196 MB / 4.07 GB, free: 155.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.554e-05/10.67, allocations: 7.219 kB / 4.07 GB, free: 155.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.164e-05/10.67, allocations: 7.312 kB / 4.07 GB, free: 155.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.139e-05/10.67, allocations: 12.81 kB / 4.07 GB, free: 155.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003463/10.67, allocations: 322 kB / 4.07 GB, free: 155.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.74e-05/10.67, allocations: 23.2 kB / 4.07 GB, free: 155.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003212/10.68, allocations: 203.5 kB / 4.07 GB, free: 155.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003429/10.68, allocations: 59.67 kB / 4.07 GB, free: 155.2 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 117 * 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.0003973/10.68, allocations: 133.3 kB / 4.07 GB, free: 155.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004482/10.68, allocations: 117.9 kB / 4.07 GB, free: 155.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004323/10.68, allocations: 1.218 MB / 4.072 GB, free: 154.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-05/10.68, allocations: 9.375 kB / 4.072 GB, free: 154.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/10.68, allocations: 0 / 4.072 GB, free: 154.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.618e-05/10.68, allocations: 5.391 kB / 4.072 GB, free: 154.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00831/10.69, allocations: 2.628 MB / 4.074 GB, free: 152.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.479e-05/10.69, allocations: 4.094 kB / 4.074 GB, free: 152.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003188/10.7, allocations: 264.2 kB / 4.074 GB, free: 152.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.589e-05/10.7, allocations: 8.094 kB / 4.074 GB, free: 152.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002249/10.7, allocations: 35.64 kB / 4.075 GB, free: 152.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.479e-05/10.7, allocations: 7.344 kB / 4.075 GB, free: 152.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.899e-06/10.7, allocations: 8.812 kB / 4.075 GB, free: 152.7 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00594/10.7, allocations: 2.161 MB / 4.077 GB, free: 151.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001411/10.7, allocations: 338.5 kB / 4.077 GB, free: 151 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004616/10.7, allocations: 6.969 kB / 4.077 GB, free: 151 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002783/10.71, allocations: 142.7 kB / 4.077 GB, free: 151 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002186/10.71, allocations: 55.61 kB / 4.077 GB, free: 151 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001895/10.71, allocations: 46.06 kB / 4.077 GB, free: 151 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001413/10.71, allocations: 0.6515 MB / 4.078 GB, free: 150.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002746/10.71, allocations: 458.8 kB / 4.078 GB, free: 150.5 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.003767/10.71, allocations: 2.125 MB / 4.08 GB, free: 149 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003019/10.72, allocations: 1.045 MB / 4.081 GB, free: 147.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/10.72, allocations: 5.047 kB / 4.081 GB, free: 147.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001483/10.72, allocations: 0.541 MB / 4.082 GB, free: 147.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004018/10.72, allocations: 421.3 kB / 4.082 GB, free: 147 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006796/10.73, allocations: 2.073 MB / 4.084 GB, free: 145 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002045/10.73, allocations: 1.366 MB / 4.086 GB, free: 143.6 MB / 0.8698 GB Notification: Performance of SimCode: time 1.683e-06/10.73, allocations: 0 / 4.086 GB, free: 143.6 MB / 0.8698 GB Notification: Performance of Templates: time 0.07404/10.81, allocations: 31.08 MB / 4.116 GB, free: 113.1 MB / 0.8698 GB