Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.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.SolarCollectors.Validation.ExtremeAmbientConditions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions") [: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.246/2.246, allocations: 253.1 MB / 260.4 MB, free: 7.562 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.001715/0.001714, allocations: 185.2 kB / 319.6 MB, free: 3.293 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 2.076/2.076, allocations: 205.4 MB / 0.5704 GB, free: 15.01 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.001295/0.001295, allocations: 89.59 kB / 0.6746 GB, free: 4.383 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.958e-06/1.017e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2536/0.2536, allocations: 106.3 MB / 0.888 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.511/1.765, allocations: 411.1 MB / 1.29 GB, free: 260.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003501/1.766, allocations: 91.8 kB / 1.29 GB, free: 260.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.515/5.28, allocations: 0.7567 GB / 2.046 GB, free: 162 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0006066/5.281, allocations: 93.48 kB / 2.046 GB, free: 162 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: 733 * Number of variables: 733 Notification: Performance of Generate backend data structure: time 0.01505/5.296, allocations: 3.46 MB / 2.05 GB, free: 160.5 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/5.296, allocations: 7.469 kB / 2.05 GB, free: 160.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02011/5.316, allocations: 1.722 MB / 2.052 GB, free: 160.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01749/5.334, allocations: 4.104 MB / 2.056 GB, free: 159.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002027/5.334, allocations: 90.06 kB / 2.056 GB, free: 159.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001736/5.336, allocations: 172.1 kB / 2.056 GB, free: 159.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01312/5.349, allocations: 3.398 MB / 2.059 GB, free: 159.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01278/5.362, allocations: 3.547 MB / 2.063 GB, free: 159.3 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001194/5.362, allocations: 9.344 kB / 2.063 GB, free: 159.3 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006061/5.363, allocations: 3.312 kB / 2.063 GB, free: 159.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001567/5.363, allocations: 135.8 kB / 2.063 GB, free: 159.3 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04701/5.41, allocations: 16.3 MB / 2.079 GB, free: 153 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006198/5.416, allocations: 1.914 MB / 2.08 GB, free: 153 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003708/5.42, allocations: 1.234 MB / 2.082 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002429/5.422, allocations: 1.637 MB / 2.083 GB, free: 150.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.429e-05/5.422, allocations: 58.38 kB / 2.083 GB, free: 150.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=164): time 4.779e-06/5.423, allocations: 5.062 kB / 2.083 GB, free: 150.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=164): time 0.0351/5.458, allocations: 3.018 MB / 2.086 GB, free: 149.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.103e-05/5.458, allocations: 119.8 kB / 2.086 GB, free: 149.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006945/5.465, allocations: 2.405 MB / 2.089 GB, free: 148.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0007118/5.465, allocations: 31.83 kB / 2.089 GB, free: 148.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001299/5.467, allocations: 1.164 MB / 2.09 GB, free: 147.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001417/5.468, allocations: 0.5497 MB / 2.09 GB, free: 147.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000364/5.469, allocations: 3.562 kB / 2.09 GB, free: 147.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001958/5.469, allocations: 389.4 kB / 2.091 GB, free: 147 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003541/5.472, allocations: 1.058 MB / 2.092 GB, free: 146.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004318/5.477, allocations: 1.52 MB / 2.093 GB, free: 145.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02989/5.507, allocations: 2.662 MB / 2.096 GB, free: 145 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.564e-05/5.507, allocations: 3.438 kB / 2.096 GB, free: 145 MB / 0.8698 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.03898/5.546, allocations: 4.281 MB / 2.1 GB, free: 143.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001379/5.547, allocations: 4.755 MB / 2.105 GB, free: 138.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.924e-05/5.547, allocations: 10.41 kB / 2.105 GB, free: 138.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000125/5.547, allocations: 23.7 kB / 2.105 GB, free: 138.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008759/5.556, allocations: 0.6878 MB / 2.105 GB, free: 138.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-05/5.556, allocations: 30.33 kB / 2.106 GB, free: 138.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009104/5.565, allocations: 409 kB / 2.106 GB, free: 138.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001164/5.567, allocations: 115.8 kB / 2.106 GB, free: 138.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/5.567, allocations: 3.688 kB / 2.106 GB, free: 138.5 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03685/5.604, allocations: 3.985 MB / 2.11 GB, free: 137.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.788e-05/5.604, allocations: 11.89 kB / 2.11 GB, free: 137.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.056e-05/5.604, allocations: 25.16 kB / 2.11 GB, free: 137.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008663/5.612, allocations: 0.6876 MB / 2.111 GB, free: 137.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-05/5.613, allocations: 35.52 kB / 2.111 GB, free: 137.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008439/5.621, allocations: 349.6 kB / 2.111 GB, free: 137.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001177/5.622, allocations: 118.7 kB / 2.111 GB, free: 137.3 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (274): * Single equations (assignments): 274 * 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.001444/5.624, allocations: 162.1 kB / 2.111 GB, free: 137.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0015/5.625, allocations: 271.5 kB / 2.112 GB, free: 137 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02772/5.653, allocations: 3.627 MB / 2.115 GB, free: 135.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-05/5.653, allocations: 20.27 kB / 2.115 GB, free: 135.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.194e-05/5.653, allocations: 4.531 kB / 2.115 GB, free: 135.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.022/5.675, allocations: 2.894 MB / 2.118 GB, free: 134.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03749/5.713, allocations: 7.806 MB / 2.126 GB, free: 128.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.932e-05/5.713, allocations: 8 kB / 2.126 GB, free: 128.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006535/5.719, allocations: 484.2 kB / 2.126 GB, free: 128.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.198e-05/5.719, allocations: 22.03 kB / 2.126 GB, free: 128.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006394/5.72, allocations: 46.58 kB / 2.126 GB, free: 128.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.122e-05/5.72, allocations: 9.172 kB / 2.126 GB, free: 128.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.079e-05/5.72, allocations: 11.94 kB / 2.126 GB, free: 128 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02519/5.745, allocations: 4.95 MB / 2.131 GB, free: 123 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003585/5.749, allocations: 0.7976 MB / 2.132 GB, free: 122.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001697/5.751, allocations: 11.98 kB / 2.132 GB, free: 122.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007406/5.758, allocations: 242.7 kB / 2.132 GB, free: 121.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006154/5.759, allocations: 103.6 kB / 2.132 GB, free: 121.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004813/5.759, allocations: 79.92 kB / 2.132 GB, free: 121.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.005618/5.765, allocations: 1.932 MB / 2.134 GB, free: 119.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.01112/5.776, allocations: 1.748 MB / 2.136 GB, free: 118.1 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 6 (solAsh.vol[1].dynBal.U,solAsh.vol[2].dynBal.U,solAsh.vol[3].dynBal.U,solEn.vol[1].dynBal.U,solEn.vol[2].dynBal.U,solEn.vol[3].dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (165): * Single equations (assignments): 162 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.00251/5.779, allocations: 0.7588 MB / 2.136 GB, free: 117.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0127/5.791, allocations: 3.995 MB / 2.14 GB, free: 113.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.524e-05/5.792, allocations: 4 kB / 2.14 GB, free: 113.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.003313/5.795, allocations: 1.078 MB / 2.141 GB, free: 112.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01113/5.806, allocations: 1.163 MB / 2.143 GB, free: 111.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02827/5.834, allocations: 5.609 MB / 2.148 GB, free: 105.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01014/5.845, allocations: 2.819 MB / 2.151 GB, free: 102.8 MB / 0.8698 GB Notification: Performance of SimCode: time 1.553e-06/5.845, allocations: 4 kB / 2.151 GB, free: 102.8 MB / 0.8698 GB Notification: Performance of Templates: time 0.2053/6.05, allocations: 77.64 MB / 2.227 GB, free: 26.54 MB / 0.8698 GB