Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.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.Validation.PrescribedOutlet_dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic") [: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.017/2.017, allocations: 253.1 MB / 260.4 MB, free: 7.559 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.001663/0.001663, allocations: 173.3 kB / 319.6 MB, free: 3.305 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.854/1.854, allocations: 205.4 MB / 0.5704 GB, free: 15.11 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.001379/0.001379, allocations: 98.5 kB / 0.6746 GB, free: 4.477 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.089e-05/1.103e-05, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2226/0.2226, allocations: 106.3 MB / 0.888 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.003/1.226, allocations: 382.7 MB / 1.262 GB, free: 3.801 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003105/1.227, allocations: 83.39 kB / 1.262 GB, free: 3.762 MB / 0.8698 GB Notification: Performance of FrontEnd: time 7.024/8.25, allocations: 1.463 GB / 2.724 GB, free: 136.7 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0002346/8.251, allocations: 58.27 kB / 2.724 GB, free: 136.7 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: 260 * Number of variables: 260 Notification: Performance of Generate backend data structure: time 0.005751/8.256, allocations: 1.89 MB / 2.726 GB, free: 135.9 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.848e-05/8.257, allocations: 10.59 kB / 2.726 GB, free: 135.9 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01025/8.267, allocations: 0.6587 MB / 2.727 GB, free: 135.8 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01021/8.277, allocations: 1.515 MB / 2.728 GB, free: 135.4 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001168/8.277, allocations: 30.12 kB / 2.728 GB, free: 135.4 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006272/8.278, allocations: 71.78 kB / 2.729 GB, free: 135.4 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004613/8.283, allocations: 0.832 MB / 2.729 GB, free: 135.4 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005154/8.288, allocations: 1.063 MB / 2.73 GB, free: 135.2 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.448e-05/8.288, allocations: 7.156 kB / 2.73 GB, free: 135.2 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002614/8.288, allocations: 6.031 kB / 2.73 GB, free: 135.2 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-05/8.288, allocations: 23.38 kB / 2.73 GB, free: 135.2 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01695/8.305, allocations: 6.696 MB / 2.737 GB, free: 131.2 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002669/8.308, allocations: 0.8481 MB / 2.738 GB, free: 131.2 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001285/8.309, allocations: 0.498 MB / 2.738 GB, free: 131.2 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00205/8.311, allocations: 2.267 MB / 2.74 GB, free: 128.6 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001598/8.313, allocations: 0.6422 MB / 2.741 GB, free: 128.5 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=97): time 4.358e-06/8.313, allocations: 0 / 2.741 GB, free: 128.5 MB / 0.9011 GB Notification: Performance of matching and sorting (n=97): time 0.005698/8.319, allocations: 1.304 MB / 2.742 GB, free: 128.4 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.93e-05/8.319, allocations: 146.7 kB / 2.743 GB, free: 128.2 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001946/8.321, allocations: 0.9123 MB / 2.743 GB, free: 128.1 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0003361/8.321, allocations: 35.02 kB / 2.743 GB, free: 128 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004197/8.322, allocations: 465.1 kB / 2.744 GB, free: 127.8 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005199/8.322, allocations: 307 kB / 2.744 GB, free: 127.6 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/8.322, allocations: 0 / 2.744 GB, free: 127.6 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001034/8.322, allocations: 351.5 kB / 2.745 GB, free: 127.3 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00115/8.323, allocations: 408.9 kB / 2.745 GB, free: 127.3 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001405/8.325, allocations: 0.7012 MB / 2.746 GB, free: 126.9 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003575/8.329, allocations: 0.6909 MB / 2.746 GB, free: 126.9 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-05/8.329, allocations: 0 / 2.746 GB, free: 126.9 MB / 0.9011 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.00604/8.335, allocations: 1.466 MB / 2.748 GB, free: 126.8 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004743/8.335, allocations: 2.145 MB / 2.75 GB, free: 124.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.786e-05/8.335, allocations: 6.125 kB / 2.75 GB, free: 124.5 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.945e-05/8.335, allocations: 10.62 kB / 2.75 GB, free: 124.5 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002726/8.338, allocations: 306.5 kB / 2.75 GB, free: 124.5 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.442e-05/8.338, allocations: 15.94 kB / 2.75 GB, free: 124.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003359/8.341, allocations: 235.9 kB / 2.75 GB, free: 124.5 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004388/8.342, allocations: 59.83 kB / 2.75 GB, free: 124.5 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/8.342, allocations: 3.906 kB / 2.75 GB, free: 124.5 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005385/8.347, allocations: 1.267 MB / 2.752 GB, free: 124.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/8.347, allocations: 6.5 kB / 2.752 GB, free: 124.5 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/8.347, allocations: 11.62 kB / 2.752 GB, free: 124.5 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002603/8.35, allocations: 303.2 kB / 2.752 GB, free: 124.5 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.732e-05/8.35, allocations: 14.47 kB / 2.752 GB, free: 124.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003291/8.353, allocations: 217.2 kB / 2.752 GB, free: 124.4 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004561/8.354, allocations: 67.69 kB / 2.752 GB, free: 124.4 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,$PRE.TSetHeat.nextEvent,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,$PRE.TSetCool.nextEvent,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,$PRE.TSetCoolHeat.nextEvent,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 114 * Array equations: 0 * Algorithm blocks: 3 * 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.000543/8.354, allocations: 242.5 kB / 2.752 GB, free: 124.2 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005603/8.355, allocations: 160 kB / 2.753 GB, free: 124.1 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007908/8.363, allocations: 2.045 MB / 2.755 GB, free: 124 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.216e-05/8.363, allocations: 15.16 kB / 2.755 GB, free: 124 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.257e-05/8.363, allocations: 3.906 kB / 2.755 GB, free: 124 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.978e-05/8.363, allocations: 14.56 kB / 2.755 GB, free: 124 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0112/8.374, allocations: 3.123 MB / 2.758 GB, free: 123.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.598e-05/8.374, allocations: 3.406 kB / 2.758 GB, free: 123.6 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002486/8.377, allocations: 239.6 kB / 2.758 GB, free: 123.6 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-05/8.377, allocations: 9.531 kB / 2.758 GB, free: 123.6 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002816/8.377, allocations: 30.72 kB / 2.758 GB, free: 123.6 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.317e-06/8.377, allocations: 7.031 kB / 2.758 GB, free: 123.6 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/8.377, allocations: 2.531 kB / 2.758 GB, free: 123.6 MB / 0.9011 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007945/8.385, allocations: 2.6 MB / 2.761 GB, free: 123.2 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001528/8.387, allocations: 393 kB / 2.761 GB, free: 123.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006145/8.387, allocations: 16.47 kB / 2.761 GB, free: 123 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002822/8.39, allocations: 165 kB / 2.761 GB, free: 123 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002453/8.391, allocations: 75.77 kB / 2.761 GB, free: 123 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002246/8.391, allocations: 49.41 kB / 2.761 GB, free: 123 MB / 0.9011 GB Notification: Performance of sort global known variables: time 0.00145/8.392, allocations: 0.6903 MB / 2.762 GB, free: 122.9 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.004464/8.397, allocations: 0.8891 MB / 2.763 GB, free: 122.8 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 9 (heaHigPow.outCon.T,heaHigPowOut.T,cooLimPowOut.T,cooLimPow.outCon.T,heaCooUnl.outCon.T,heaCooUnlOut.T,heaHigPowIn.T,cooLimPowIn.T,heaCooUnlIn.T) * Number of discrete variables: 18 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 18 (TSetCoolHeat.nextEvent,TSetCoolHeat.last,TSetCoolHeat.nextEventScaled,TSetCoolHeat.b,TSetCoolHeat.a,$whenCondition3,TSetCool.nextEvent,TSetCool.last,TSetCool.nextEventScaled,TSetCool.b,TSetCool.a,$whenCondition2,TSetHeat.nextEvent,TSetHeat.last,TSetHeat.nextEventScaled,TSetHeat.b,TSetHeat.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 19 * 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.002684/8.399, allocations: 0.9702 MB / 2.764 GB, free: 122.6 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0048/8.404, allocations: 1.938 MB / 2.766 GB, free: 122.4 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 6.974e-06/8.404, allocations: 0 / 2.766 GB, free: 122.4 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.001745/8.406, allocations: 0.802 MB / 2.766 GB, free: 122.3 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005036/8.411, allocations: 0.5195 MB / 2.767 GB, free: 122.3 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008659/8.42, allocations: 2.708 MB / 2.769 GB, free: 121.6 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001941/8.422, allocations: 1.492 MB / 2.771 GB, free: 120.9 MB / 0.9011 GB Notification: Performance of SimCode: time 1.783e-06/8.422, allocations: 0 / 2.771 GB, free: 120.9 MB / 0.9011 GB Notification: Performance of Templates: time 0.1621/8.584, allocations: 37.44 MB / 2.808 GB, free: 118.4 MB / 0.9011 GB