Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") [: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.027/2.027, allocations: 253.1 MB / 260.4 MB, free: 7.582 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.001687/0.001686, allocations: 185.2 kB / 319.6 MB, free: 3.328 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.863/1.863, allocations: 205.4 MB / 0.5704 GB, free: 15.15 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.001319/0.001319, allocations: 93.83 kB / 0.6746 GB, free: 4.52 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.164e-05/1.175e-05, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1894/0.1895, allocations: 106.3 MB / 0.888 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.487/5.677, allocations: 2.186 GB / 3.074 GB, free: 125.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000296/5.677, allocations: 87.94 kB / 3.074 GB, free: 125.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.646/10.32, allocations: 0.9761 GB / 4.05 GB, free: 152.3 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.000212/10.32, allocations: 38.95 kB / 4.05 GB, free: 152.3 MB / 0.9011 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.01142/10.33, allocations: 1.748 MB / 4.052 GB, free: 151 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/10.33, allocations: 8.75 kB / 4.052 GB, free: 151 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008004/10.34, allocations: 0.7689 MB / 4.053 GB, free: 150.7 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004991/10.35, allocations: 1.043 MB / 4.054 GB, free: 150 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.743e-05/10.35, allocations: 26.75 kB / 4.054 GB, free: 150 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003086/10.35, allocations: 54.75 kB / 4.054 GB, free: 150 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003204/10.35, allocations: 0.9449 MB / 4.055 GB, free: 149.6 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00298/10.35, allocations: 1.142 MB / 4.056 GB, free: 148.9 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.361e-05/10.35, allocations: 1.281 kB / 4.056 GB, free: 148.9 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001554/10.35, allocations: 7.188 kB / 4.056 GB, free: 148.9 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.906e-05/10.35, allocations: 48.98 kB / 4.056 GB, free: 148.8 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01393/10.37, allocations: 5.679 MB / 4.062 GB, free: 144.2 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002561/10.37, allocations: 0.8801 MB / 4.062 GB, free: 143.8 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001368/10.37, allocations: 0.4926 MB / 4.063 GB, free: 143.6 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001234/10.37, allocations: 0.5826 MB / 4.064 GB, free: 143 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001589/10.38, allocations: 0.585 MB / 4.064 GB, free: 142.7 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=80): time 4.628e-06/10.38, allocations: 3.391 kB / 4.064 GB, free: 142.7 MB / 0.9011 GB Notification: Performance of matching and sorting (n=80): time 0.004285/10.38, allocations: 1.084 MB / 4.065 GB, free: 142.1 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/10.38, allocations: 60.19 kB / 4.065 GB, free: 142.1 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001886/10.38, allocations: 0.858 MB / 4.066 GB, free: 141.6 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0002711/10.38, allocations: 32.66 kB / 4.066 GB, free: 141.6 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003857/10.38, allocations: 417.8 kB / 4.066 GB, free: 141.2 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003584/10.38, allocations: 268.4 kB / 4.067 GB, free: 141 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/10.38, allocations: 0 / 4.067 GB, free: 141 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 9.344e-05/10.38, allocations: 347.1 kB / 4.067 GB, free: 140.7 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001229/10.38, allocations: 418.5 kB / 4.067 GB, free: 140.5 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001497/10.39, allocations: 0.7408 MB / 4.068 GB, free: 139.9 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001438/10.39, allocations: 482.5 kB / 4.069 GB, free: 139.6 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.168e-06/10.39, allocations: 2.594 kB / 4.069 GB, free: 139.6 MB / 0.9011 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003875/10.39, allocations: 1.188 MB / 4.07 GB, free: 139.1 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.514e-05/10.39, allocations: 4.344 kB / 4.07 GB, free: 139.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.023e-05/10.39, allocations: 7.438 kB / 4.07 GB, free: 139.1 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.048e-05/10.39, allocations: 13.25 kB / 4.07 GB, free: 139.1 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003382/10.39, allocations: 326.4 kB / 4.07 GB, free: 139 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.252e-05/10.39, allocations: 23.55 kB / 4.07 GB, free: 139 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003182/10.4, allocations: 213.9 kB / 4.07 GB, free: 138.9 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002462/10.4, allocations: 59.86 kB / 4.07 GB, free: 138.8 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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.0003532/10.4, allocations: 129.6 kB / 4.071 GB, free: 138.7 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000349/10.4, allocations: 125.6 kB / 4.071 GB, free: 138.6 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004125/10.4, allocations: 1.184 MB / 4.072 GB, free: 138 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.981e-05/10.4, allocations: 12.52 kB / 4.072 GB, free: 138 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.826e-06/10.4, allocations: 4.688 kB / 4.072 GB, free: 138 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.287e-05/10.4, allocations: 3.984 kB / 4.072 GB, free: 138 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007948/10.41, allocations: 2.607 MB / 4.074 GB, free: 136.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.076e-05/10.41, allocations: 4.5 kB / 4.074 GB, free: 136.4 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002839/10.41, allocations: 259.6 kB / 4.075 GB, free: 136.1 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.751e-05/10.41, allocations: 8 kB / 4.075 GB, free: 136.1 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001551/10.41, allocations: 23.97 kB / 4.075 GB, free: 136.1 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.388e-05/10.41, allocations: 15.92 kB / 4.075 GB, free: 136.1 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/10.41, allocations: 8 kB / 4.075 GB, free: 136.1 MB / 0.9011 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004946/10.42, allocations: 2.134 MB / 4.077 GB, free: 133.8 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001031/10.42, allocations: 327.2 kB / 4.077 GB, free: 133.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003574/10.42, allocations: 11.89 kB / 4.077 GB, free: 133.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00243/10.42, allocations: 147.8 kB / 4.077 GB, free: 133.3 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001829/10.42, allocations: 60.42 kB / 4.077 GB, free: 133.2 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001565/10.42, allocations: 47.95 kB / 4.077 GB, free: 133.2 MB / 0.9011 GB Notification: Performance of sort global known variables: time 0.001191/10.42, allocations: 0.6448 MB / 4.078 GB, free: 132.5 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.00242/10.43, allocations: 471.2 kB / 4.078 GB, free: 132.1 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,heaCooUnl.Xi) * 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 (86): * Single equations (assignments): 80 * 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.00374/10.43, allocations: 2.133 MB / 4.081 GB, free: 130.2 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.003108/10.43, allocations: 1.042 MB / 4.082 GB, free: 129.2 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 9.137e-06/10.43, allocations: 0 / 4.082 GB, free: 129.2 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.00148/10.44, allocations: 0.5391 MB / 4.082 GB, free: 128.7 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004037/10.44, allocations: 408.2 kB / 4.082 GB, free: 128.3 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03094/10.47, allocations: 2.803 MB / 4.085 GB, free: 125.4 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00204/10.47, allocations: 1.361 MB / 4.087 GB, free: 124 MB / 0.9011 GB Notification: Performance of SimCode: time 1.543e-06/10.47, allocations: 0 / 4.087 GB, free: 124 MB / 0.9011 GB Notification: Performance of Templates: time 0.07362/10.55, allocations: 30.74 MB / 4.117 GB, free: 93.64 MB / 0.9011 GB