Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.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.FixedResistances.Validation.FlowJunctionSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState") [: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.056/2.056, allocations: 253.1 MB / 260.4 MB, free: 7.621 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.00169/0.00169, allocations: 189.2 kB / 319.6 MB, free: 3.309 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.882/1.882, 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.001305/0.001305, allocations: 94.86 kB / 0.6746 GB, free: 4.402 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.907e-06/8.997e-06, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.212/0.212, allocations: 106.2 MB / 0.888 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.703/5.915, allocations: 2.2 GB / 3.089 GB, free: 159 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004278/5.916, allocations: 91.47 kB / 3.089 GB, free: 158.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.454/9.369, allocations: 0.7648 GB / 3.853 GB, free: 53.15 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.548e-05/9.369, allocations: 24 kB / 3.853 GB, free: 53.12 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.003602/9.373, allocations: 1.219 MB / 3.855 GB, free: 51.86 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/9.373, allocations: 15.75 kB / 3.855 GB, free: 51.85 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002918/9.376, allocations: 270.6 kB / 3.855 GB, free: 51.58 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003051/9.379, allocations: 0.7963 MB / 3.856 GB, free: 50.74 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.938e-05/9.379, allocations: 16 kB / 3.856 GB, free: 50.72 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001501/9.379, allocations: 35.91 kB / 3.856 GB, free: 50.69 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001607/9.381, allocations: 0.5798 MB / 3.856 GB, free: 50.11 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001386/9.382, allocations: 0.5276 MB / 3.857 GB, free: 49.57 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.175e-05/9.382, allocations: 3.984 kB / 3.857 GB, free: 49.57 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.881e-05/9.382, allocations: 4 kB / 3.857 GB, free: 49.57 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.876e-05/9.382, allocations: 12 kB / 3.857 GB, free: 49.55 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005981/9.388, allocations: 2.656 MB / 3.859 GB, free: 46.69 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001336/9.39, allocations: 483.6 kB / 3.86 GB, free: 46.21 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000684/9.39, allocations: 329.5 kB / 3.86 GB, free: 45.88 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001061/9.391, allocations: 0.6367 MB / 3.861 GB, free: 45.12 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/9.392, allocations: 42.94 kB / 3.861 GB, free: 45.07 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=45): time 3.266e-06/9.392, allocations: 0 / 3.861 GB, free: 45.07 MB / 0.8698 GB Notification: Performance of matching and sorting (n=45): time 0.0043/9.396, allocations: 0.9472 MB / 3.862 GB, free: 44.11 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.629e-05/9.396, allocations: 55.41 kB / 3.862 GB, free: 44.04 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007944/9.397, allocations: 467.7 kB / 3.862 GB, free: 43.58 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 8.993e-05/9.397, allocations: 29.7 kB / 3.862 GB, free: 43.55 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/9.397, allocations: 240.7 kB / 3.863 GB, free: 43.31 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001528/9.397, allocations: 157.7 kB / 3.863 GB, free: 43.15 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.099e-05/9.397, allocations: 0 / 3.863 GB, free: 43.15 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001197/9.397, allocations: 374.8 kB / 3.863 GB, free: 42.78 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005405/9.398, allocations: 228.8 kB / 3.863 GB, free: 42.55 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006623/9.399, allocations: 350.9 kB / 3.864 GB, free: 42.18 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001126/9.4, allocations: 360.3 kB / 3.864 GB, free: 41.82 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/9.4, allocations: 0 / 3.864 GB, free: 41.82 MB / 0.8698 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002519/9.402, allocations: 0.7995 MB / 3.865 GB, free: 41.01 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 8.018e-05/9.402, allocations: 279.2 kB / 3.865 GB, free: 40.72 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/9.402, allocations: 0 / 3.865 GB, free: 40.72 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003042/9.403, allocations: 56.83 kB / 3.865 GB, free: 40.66 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001008/9.404, allocations: 99.86 kB / 3.865 GB, free: 40.57 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000682/9.404, allocations: 0.6499 MB / 3.866 GB, free: 39.89 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001418/9.406, allocations: 71.75 kB / 3.866 GB, free: 39.82 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001045/9.406, allocations: 31.97 kB / 3.866 GB, free: 39.79 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/9.406, allocations: 4 kB / 3.866 GB, free: 39.79 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002118/9.408, allocations: 0.6659 MB / 3.866 GB, free: 39.11 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/9.408, allocations: 0 / 3.866 GB, free: 39.11 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003331/9.408, allocations: 72.94 kB / 3.867 GB, free: 39.04 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009848/9.409, allocations: 95.86 kB / 3.867 GB, free: 38.95 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002135/9.412, allocations: 1.622 MB / 3.868 GB, free: 37.21 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001416/9.413, allocations: 75.69 kB / 3.868 GB, free: 37.14 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.996e-05/9.413, allocations: 23.97 kB / 3.868 GB, free: 37.11 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002185/9.413, allocations: 112.6 kB / 3.868 GB, free: 37 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001732/9.414, allocations: 79.14 kB / 3.869 GB, free: 36.92 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002849/9.416, allocations: 0.8347 MB / 3.869 GB, free: 36.07 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.636e-06/9.416, allocations: 4 kB / 3.869 GB, free: 36.07 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/9.416, allocations: 0 / 3.869 GB, free: 36.07 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.307e-06/9.417, allocations: 3.984 kB / 3.869 GB, free: 36.07 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00447/9.421, allocations: 1.673 MB / 3.871 GB, free: 34.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.308e-06/9.421, allocations: 8 kB / 3.871 GB, free: 34.29 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009638/9.422, allocations: 100.2 kB / 3.871 GB, free: 34.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001844/9.422, allocations: 52.83 kB / 3.871 GB, free: 34.14 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.714e-05/9.422, allocations: 4 kB / 3.871 GB, free: 34.14 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004786/9.423, allocations: 0.6187 MB / 3.872 GB, free: 33.49 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.82e-06/9.423, allocations: 4 kB / 3.872 GB, free: 33.49 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002784/9.426, allocations: 1.311 MB / 3.873 GB, free: 32.04 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005046/9.426, allocations: 204 kB / 3.873 GB, free: 31.82 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000165/9.426, allocations: 11.98 kB / 3.873 GB, free: 31.81 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00142/9.428, allocations: 91.75 kB / 3.873 GB, free: 31.72 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/9.428, allocations: 35.95 kB / 3.873 GB, free: 31.69 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.959e-05/9.428, allocations: 16 kB / 3.873 GB, free: 31.67 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0006035/9.429, allocations: 367.2 kB / 3.874 GB, free: 31.32 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002231/9.431, allocations: 0.5301 MB / 3.874 GB, free: 30.79 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (senTem1.T,senTem2.T,senTem3.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 44 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.003542/9.434, allocations: 2.374 MB / 3.877 GB, free: 28.27 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0026/9.437, allocations: 0.9724 MB / 3.877 GB, free: 27.29 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/9.437, allocations: 0 / 3.877 GB, free: 27.29 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007315/9.438, allocations: 283.3 kB / 3.878 GB, free: 27.01 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004575/9.442, allocations: 462.3 kB / 3.878 GB, free: 26.57 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009636/9.452, allocations: 1.531 MB / 3.88 GB, free: 24.96 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009322/9.453, allocations: 1.068 MB / 3.881 GB, free: 23.87 MB / 0.8698 GB Notification: Performance of SimCode: time 1.293e-06/9.453, allocations: 0 / 3.881 GB, free: 23.87 MB / 0.8698 GB Notification: Performance of Templates: time 0.516/9.969, allocations: 30.21 MB / 3.91 GB, free: 234.5 MB / 0.8698 GB