Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams") translateModel(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams") [: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/BuildingSystems 2.0.0-master/package.mo): time 0.7689/0.7689, allocations: 141.8 MB / 149.1 MB, free: 1.531 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 181.3 kB / 181.9 MB, free: 0.9258 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.488/1.488, allocations: 221.3 MB / 436 MB, free: 5.727 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009402/0.0009402, allocations: 99.98 kB / 0.507 GB, free: 2.383 MB / 410.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001666/0.001666, allocations: 267.7 kB / 0.5884 GB, free: 47.4 MB / 410.9 MB Notification: Performance of FrontEnd - loaded program: time 1.076e-05/1.087e-05, allocations: 2.344 kB / 0.6759 GB, free: 59.67 MB / 442.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1944/0.1944, allocations: 82.77 MB / 0.7567 GB, free: 0.8398 MB / 442.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.856/5.051, allocations: 2.162 GB / 2.919 GB, free: 60.72 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002753/5.051, allocations: 99.94 kB / 2.919 GB, free: 60.62 MB / 0.6982 GB Notification: Performance of FrontEnd: time 14.83/19.88, allocations: 3.726 GB / 6.645 GB, free: 54.34 MB / 0.8857 GB Notification: Performance of Transformations before backend: time 0.001913/19.88, allocations: 187.6 kB / 6.645 GB, free: 54.31 MB / 0.8857 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1018 * Number of variables: 1018 Notification: Performance of Generate backend data structure: time 0.02787/19.91, allocations: 7.663 MB / 6.653 GB, free: 50.14 MB / 0.8857 GB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/19.91, allocations: 8.594 kB / 6.653 GB, free: 50.14 MB / 0.8857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01206/19.92, allocations: 1.973 MB / 6.655 GB, free: 49.67 MB / 0.8857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03301/19.96, allocations: 9.337 MB / 6.664 GB, free: 48.44 MB / 0.8857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001667/19.96, allocations: 472.2 kB / 6.664 GB, free: 48.43 MB / 0.8857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002162/19.96, allocations: 270 kB / 6.665 GB, free: 48.43 MB / 0.8857 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01075/19.97, allocations: 3.889 MB / 6.668 GB, free: 48.42 MB / 0.8857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0164/19.99, allocations: 4.646 MB / 6.673 GB, free: 47.89 MB / 0.8857 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002289/19.99, allocations: 9.031 kB / 6.673 GB, free: 47.89 MB / 0.8857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001421/19.99, allocations: 16.45 kB / 6.673 GB, free: 47.89 MB / 0.8857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.833e-05/19.99, allocations: 98.38 kB / 6.673 GB, free: 47.89 MB / 0.8857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05622/20.05, allocations: 25.69 MB / 6.698 GB, free: 37.42 MB / 0.8857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005385/20.05, allocations: 2.643 MB / 6.701 GB, free: 37.39 MB / 0.8857 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002975/20.05, allocations: 1.761 MB / 6.702 GB, free: 37.38 MB / 0.8857 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01881/20.07, allocations: 7.886 MB / 6.71 GB, free: 34.01 MB / 0.8857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.908e-05/20.07, allocations: 59.81 kB / 6.71 GB, free: 33.97 MB / 0.8857 GB Notification: Performance of pre-optimization done (n=190): time 4.899e-06/20.07, allocations: 0 / 6.71 GB, free: 33.97 MB / 0.8857 GB Notification: Performance of matching and sorting (n=190): time 0.01621/20.09, allocations: 4.917 MB / 6.715 GB, free: 33.49 MB / 0.8857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001809/20.09, allocations: 416.9 kB / 6.715 GB, free: 33.05 MB / 0.8857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01913/20.11, allocations: 6.268 MB / 6.721 GB, free: 32.61 MB / 0.8857 GB Notification: Performance of collectPreVariables (initialization): time 0.001074/20.11, allocations: 39.14 kB / 6.721 GB, free: 32.58 MB / 0.8857 GB Notification: Performance of collectInitialEqns (initialization): time 0.003192/20.11, allocations: 1.958 MB / 6.723 GB, free: 31.69 MB / 0.8857 GB Notification: Performance of collectInitialBindings (initialization): time 0.002225/20.12, allocations: 0.608 MB / 6.724 GB, free: 31.29 MB / 0.8857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007006/20.12, allocations: 6.75 kB / 6.724 GB, free: 31.29 MB / 0.8857 GB Notification: Performance of setup shared object (initialization): time 0.0003178/20.12, allocations: 423 kB / 6.724 GB, free: 30.98 MB / 0.8857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003703/20.12, allocations: 2.068 MB / 6.726 GB, free: 30.96 MB / 0.8857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004578/20.12, allocations: 3.261 MB / 6.73 GB, free: 29.61 MB / 0.8857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006777/20.13, allocations: 2.56 MB / 6.732 GB, free: 29.58 MB / 0.8857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.817e-05/20.13, allocations: 7.125 kB / 6.732 GB, free: 29.58 MB / 0.8857 GB Notification: Performance of matching and sorting (n=375) (initialization): time 0.01569/20.15, allocations: 6.161 MB / 6.738 GB, free: 29.12 MB / 0.8857 GB Notification: Performance of prepare postOptimizeDAE: time 0.002673/20.15, allocations: 13.33 MB / 6.751 GB, free: 15.12 MB / 0.8857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.993e-05/20.15, allocations: 24.38 kB / 6.751 GB, free: 15.12 MB / 0.8857 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001084/20.15, allocations: 482 kB / 6.752 GB, free: 15.09 MB / 0.8857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002713/20.15, allocations: 0.608 MB / 6.752 GB, free: 15.09 MB / 0.8857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002147/20.16, allocations: 2.672 MB / 6.755 GB, free: 13.02 MB / 0.8857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007831/20.16, allocations: 0.6194 MB / 6.755 GB, free: 12.85 MB / 0.8857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008394/20.16, allocations: 192 kB / 6.756 GB, free: 12.85 MB / 0.8857 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/20.16, allocations: 2.688 kB / 6.756 GB, free: 12.85 MB / 0.8857 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01245/20.18, allocations: 5.325 MB / 6.761 GB, free: 12.73 MB / 0.8857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.759e-05/20.18, allocations: 23.25 kB / 6.761 GB, free: 12.73 MB / 0.8857 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001018/20.18, allocations: 483.2 kB / 6.761 GB, free: 12.7 MB / 0.8857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002721/20.18, allocations: 0.6021 MB / 6.762 GB, free: 12.66 MB / 0.8857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002078/20.18, allocations: 2.672 MB / 6.765 GB, free: 10.57 MB / 0.8857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007304/20.19, allocations: 0.5493 MB / 6.765 GB, free: 10.45 MB / 0.8857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00092/20.19, allocations: 187.6 kB / 6.765 GB, free: 10.45 MB / 0.8857 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: beaCooHea10.conHea.hex.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true final = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: beaCooHea10.conCoo.hex.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true final = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: beaCooHea.conHea.hex.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true final = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: beaCooHea.conCoo.hex.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true final = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 114 * Number of states: 0 () * Number of discrete variables: 12 (beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.airFlo_mod.i,beaCooHea10.conCoo.mod.temDif_mod.i,beaCooHea10.conCoo.mod.watFlo_mod.i,beaCooHea10.conCoo.mod.airFlo_mod.i,beaCooHea10.conHea.mod.temDif_mod.i,beaCooHea10.conHea.mod.watFlo_mod.i,beaCooHea10.conHea.mod.airFlo_mod.i) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (299): * Single equations (assignments): 267 * Array equations: 4 * Algorithm blocks: 24 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.001847/20.19, allocations: 0.5803 MB / 6.766 GB, free: 9.902 MB / 0.8857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002787/20.2, allocations: 0.6623 MB / 6.766 GB, free: 9.539 MB / 0.8857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01974/20.22, allocations: 5.51 MB / 6.772 GB, free: 9.277 MB / 0.8857 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.968e-05/20.22, allocations: 24.08 kB / 6.772 GB, free: 9.277 MB / 0.8857 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.51e-05/20.22, allocations: 0 / 6.772 GB, free: 9.277 MB / 0.8857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.88e-05/20.22, allocations: 15.72 kB / 6.772 GB, free: 9.273 MB / 0.8857 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03414/20.25, allocations: 10.69 MB / 6.782 GB, free: 8.52 MB / 0.8857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.022e-05/20.25, allocations: 5.75 kB / 6.782 GB, free: 8.52 MB / 0.8857 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002061/20.25, allocations: 417.8 kB / 6.783 GB, free: 8.492 MB / 0.8857 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000914/20.25, allocations: 450.2 kB / 6.783 GB, free: 8.453 MB / 0.8857 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004918/20.25, allocations: 52.14 kB / 6.783 GB, free: 8.453 MB / 0.8857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002071/20.26, allocations: 2.631 MB / 6.786 GB, free: 6.359 MB / 0.8857 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.035e-06/20.26, allocations: 3.312 kB / 6.786 GB, free: 6.359 MB / 0.8857 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01481/20.27, allocations: 5.963 MB / 6.792 GB, free: 20.58 MB / 0.9013 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006408/20.28, allocations: 1.392 MB / 6.793 GB, free: 20.09 MB / 0.9013 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003055/20.28, allocations: 29.25 kB / 6.793 GB, free: 20.09 MB / 0.9013 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006657/20.29, allocations: 419.7 kB / 6.793 GB, free: 20.04 MB / 0.9013 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009417/20.29, allocations: 255.5 kB / 6.794 GB, free: 20.03 MB / 0.9013 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007677/20.29, allocations: 115.3 kB / 6.794 GB, free: 20.02 MB / 0.9013 GB Notification: Performance of sort global known variables: time 0.01848/20.31, allocations: 4.717 MB / 6.798 GB, free: 18.61 MB / 0.9013 GB Notification: Performance of remove unused functions: time 0.02112/20.33, allocations: 3.472 MB / 6.802 GB, free: 17.78 MB / 0.9013 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 12 (beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.airFlo_mod.i,beaCooHea10.conCoo.mod.temDif_mod.i,beaCooHea10.conCoo.mod.watFlo_mod.i,beaCooHea10.conCoo.mod.airFlo_mod.i,beaCooHea10.conHea.mod.temDif_mod.i,beaCooHea10.conHea.mod.watFlo_mod.i,beaCooHea10.conHea.mod.airFlo_mod.i) * Number of discrete states: 12 (beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conHea.mod.airFlo_mod.i,beaCooHea10.conCoo.mod.airFlo_mod.i,beaCooHea10.conHea.mod.airFlo_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea10.conHea.mod.watFlo_mod.i,beaCooHea10.conCoo.mod.watFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i,beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea10.conHea.mod.temDif_mod.i,beaCooHea10.conCoo.mod.temDif_mod.i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (190): * Single equations (assignments): 162 * Array equations: 0 * Algorithm blocks: 12 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.01172/20.34, allocations: 7.059 MB / 6.809 GB, free: 13.91 MB / 0.9013 GB Notification: Performance of simCode: created initialization part: time 0.01706/20.36, allocations: 8.595 MB / 6.817 GB, free: 9.574 MB / 0.9013 GB Notification: Performance of simCode: created event and clocks part: time 1.915e-05/20.36, allocations: 6.156 kB / 6.817 GB, free: 9.57 MB / 0.9013 GB Notification: Performance of simCode: created simulation system equations: time 0.00701/20.36, allocations: 3.181 MB / 6.82 GB, free: 7.992 MB / 0.9013 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02065/20.38, allocations: 2.882 MB / 6.823 GB, free: 6.945 MB / 0.9013 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03781/20.42, allocations: 10.61 MB / 6.833 GB, free: 13.12 MB / 0.9169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0129/20.44, allocations: 4.474 MB / 6.838 GB, free: 9.816 MB / 0.9169 GB Notification: Performance of SimCode: time 1.843e-06/20.44, allocations: 4 kB / 6.838 GB, free: 9.812 MB / 0.9169 GB Notification: Performance of Templates: time 0.9556/21.39, allocations: 169.6 MB / 7.003 GB, free: 110.3 MB / 0.9169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.pipe 2>&1)