Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState") translateModel(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.555/1.555, allocations: 289.8 MB / 297.1 MB, free: 6.629 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001184/0.001184, allocations: 185.3 kB / 366.3 MB, free: 1.953 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.568/1.568, allocations: 205.2 MB / 0.6256 GB, free: 5.797 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009098/0.0009097, allocations: 87.3 kB / 0.7395 GB, free: 39.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.195e-06/8.285e-06, allocations: 0 / 0.859 GB, free: 13.33 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6469/0.647, allocations: 116.3 MB / 0.9726 GB, free: 68.4 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.004/5.651, allocations: 2.082 GB / 3.055 GB, free: 355.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002517/5.652, allocations: 95.06 kB / 3.055 GB, free: 355.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.662/8.313, allocations: 0.7906 GB / 3.846 GB, free: 178.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.751e-05/8.313, allocations: 28.97 kB / 3.846 GB, free: 178.6 MB / 0.948 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.00255/8.316, allocations: 1.221 MB / 3.847 GB, free: 178.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/8.316, allocations: 11.66 kB / 3.847 GB, free: 178.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00179/8.318, allocations: 269.7 kB / 3.847 GB, free: 178.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001641/8.319, allocations: 0.8073 MB / 3.848 GB, free: 177.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/8.32, allocations: 18.5 kB / 3.848 GB, free: 177.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.864e-05/8.32, allocations: 34.59 kB / 3.848 GB, free: 177.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008403/8.32, allocations: 0.5744 MB / 3.848 GB, free: 177.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007823/8.321, allocations: 0.5302 MB / 3.849 GB, free: 177.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/8.321, allocations: 0 / 3.849 GB, free: 177.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.478e-05/8.321, allocations: 3.938 kB / 3.849 GB, free: 177.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/8.321, allocations: 15.38 kB / 3.849 GB, free: 177.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003306/8.325, allocations: 2.653 MB / 3.852 GB, free: 176.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000733/8.325, allocations: 482.9 kB / 3.852 GB, free: 176.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003527/8.326, allocations: 331.7 kB / 3.852 GB, free: 176.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000675/8.326, allocations: 0.6389 MB / 3.853 GB, free: 176 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/8.327, allocations: 41.62 kB / 3.853 GB, free: 175.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=45): time 1.844e-06/8.327, allocations: 0 / 3.853 GB, free: 175.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=45): time 0.002383/8.329, allocations: 0.9492 MB / 3.854 GB, free: 175.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.215e-05/8.329, allocations: 54.91 kB / 3.854 GB, free: 175.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004544/8.329, allocations: 463 kB / 3.854 GB, free: 175.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.729e-05/8.329, allocations: 32.55 kB / 3.855 GB, free: 175.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/8.33, allocations: 242.9 kB / 3.855 GB, free: 175.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/8.33, allocations: 150.3 kB / 3.855 GB, free: 175.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.04e-05/8.33, allocations: 0 / 3.855 GB, free: 175.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.47e-05/8.33, allocations: 375.2 kB / 3.855 GB, free: 175.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002861/8.33, allocations: 231 kB / 3.855 GB, free: 175.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003395/8.33, allocations: 351.2 kB / 3.856 GB, free: 175 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000581/8.331, allocations: 357.2 kB / 3.856 GB, free: 175 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/8.331, allocations: 0 / 3.856 GB, free: 175 MB / 0.948 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001316/8.332, allocations: 0.7987 MB / 3.857 GB, free: 174.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 6.767e-05/8.332, allocations: 274 kB / 3.857 GB, free: 174.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/8.332, allocations: 2.266 kB / 3.857 GB, free: 174.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001955/8.333, allocations: 58.47 kB / 3.857 GB, free: 174.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005304/8.333, allocations: 98.72 kB / 3.857 GB, free: 174.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004493/8.334, allocations: 0.6559 MB / 3.858 GB, free: 174.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008283/8.335, allocations: 78.72 kB / 3.858 GB, free: 174.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.814e-05/8.335, allocations: 21.05 kB / 3.858 GB, free: 174.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.093e-06/8.335, allocations: 8.656 kB / 3.858 GB, free: 174.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001147/8.336, allocations: 0.67 MB / 3.859 GB, free: 174.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.335e-06/8.336, allocations: 0 / 3.859 GB, free: 174.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001893/8.336, allocations: 58.72 kB / 3.859 GB, free: 174.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004875/8.336, allocations: 105 kB / 3.859 GB, free: 174.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001366/8.338, allocations: 1.616 MB / 3.86 GB, free: 172.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007252/8.339, allocations: 77.72 kB / 3.861 GB, free: 172.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.962e-05/8.339, allocations: 28.16 kB / 3.861 GB, free: 172.8 MB / 0.948 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.0001582/8.339, allocations: 116.5 kB / 3.861 GB, free: 172.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001179/8.339, allocations: 72.53 kB / 3.861 GB, free: 172.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00158/8.341, allocations: 0.8356 MB / 3.862 GB, free: 172.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/8.341, allocations: 6.469 kB / 3.862 GB, free: 172.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/8.341, allocations: 0 / 3.862 GB, free: 172.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/8.341, allocations: 3.891 kB / 3.862 GB, free: 172.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002669/8.343, allocations: 1.68 MB / 3.863 GB, free: 172.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/8.343, allocations: 3.438 kB / 3.863 GB, free: 172.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004805/8.344, allocations: 97.12 kB / 3.863 GB, free: 172.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001205/8.344, allocations: 55.81 kB / 3.863 GB, free: 172.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.908e-05/8.344, allocations: 10.59 kB / 3.863 GB, free: 172.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003238/8.344, allocations: 0.6057 MB / 3.864 GB, free: 171.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/8.344, allocations: 7 kB / 3.864 GB, free: 171.6 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001675/8.346, allocations: 1.312 MB / 3.865 GB, free: 171.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003264/8.346, allocations: 203.2 kB / 3.865 GB, free: 171 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001107/8.346, allocations: 7.172 kB / 3.865 GB, free: 171 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000766/8.347, allocations: 85.94 kB / 3.866 GB, free: 171 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001155/8.347, allocations: 40.03 kB / 3.866 GB, free: 171 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.125e-05/8.347, allocations: 21.27 kB / 3.866 GB, free: 171 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0004042/8.348, allocations: 366.3 kB / 3.866 GB, free: 170.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001992/8.35, allocations: 0.5263 MB / 3.866 GB, free: 170.9 MB / 0.948 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.004137/8.354, allocations: 2.381 MB / 3.869 GB, free: 170.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001995/8.356, allocations: 0.9639 MB / 3.87 GB, free: 170 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/8.356, allocations: 0 / 3.87 GB, free: 170 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004737/8.356, allocations: 281.5 kB / 3.87 GB, free: 170 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002617/8.359, allocations: 460.8 kB / 3.87 GB, free: 170 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006046/8.365, allocations: 1.524 MB / 3.872 GB, free: 169.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000859/8.366, allocations: 1.064 MB / 3.873 GB, free: 168.9 MB / 0.948 GB Notification: Performance of SimCode: time 1.453e-06/8.366, allocations: 0 / 3.873 GB, free: 168.9 MB / 0.948 GB Notification: Performance of Templates: time 0.04319/8.409, allocations: 30.24 MB / 3.902 GB, free: 168.3 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.makefile (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.sim & ./Buildings_8_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe 2>&1)