Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor") [: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 8.0.0/package.mo): time 2.271/2.271, allocations: 284.9 MB / 292.2 MB, free: 1.484 MB / 227.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001683/0.001682, allocations: 182.9 kB / 360.4 MB, free: 15.61 MB / 291.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.814/1.814, allocations: 205.1 MB / 0.6188 GB, free: 6.629 MB / 467.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00129/0.00129, allocations: 101.3 kB / 0.7318 GB, free: 46.89 MB / 0.5186 GB Notification: Performance of FrontEnd - loaded program: time 1.209e-05/1.225e-05, allocations: 4 kB / 0.8503 GB, free: 13.7 MB / 0.5967 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.622/0.6221, allocations: 115.2 MB / 0.9628 GB, free: 86.34 MB / 0.6749 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2251/0.8473, allocations: 141.4 MB / 1.101 GB, free: 8.918 MB / 0.7061 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003326/0.8477, allocations: 96.45 kB / 1.101 GB, free: 8.824 MB / 0.7061 GB Notification: Performance of FrontEnd: time 0.03306/0.8807, allocations: 6.574 MB / 1.107 GB, free: 2.316 MB / 0.7061 GB Notification: Performance of Transformations before backend: time 2.753e-05/0.8808, allocations: 11.94 kB / 1.107 GB, free: 2.305 MB / 0.7061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.001695/0.8825, allocations: 0.7321 MB / 1.108 GB, free: 1.488 MB / 0.7061 GB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/0.8826, allocations: 16.03 kB / 1.108 GB, free: 1.473 MB / 0.7061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001415/0.8828, allocations: 31.62 kB / 1.108 GB, free: 1.441 MB / 0.7061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007847/0.8836, allocations: 311 kB / 1.108 GB, free: 1.098 MB / 0.7061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.118e-05/0.8836, allocations: 8 kB / 1.108 GB, free: 1.09 MB / 0.7061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.733e-05/0.8837, allocations: 11.94 kB / 1.108 GB, free: 1.078 MB / 0.7061 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007276/0.8844, allocations: 197.5 kB / 1.109 GB, free: 0.8867 MB / 0.7061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007942/0.8853, allocations: 238.7 kB / 1.109 GB, free: 0.6484 MB / 0.7061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.8853, allocations: 3.906 kB / 1.109 GB, free: 0.6445 MB / 0.7061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.604e-05/0.8853, allocations: 4 kB / 1.109 GB, free: 0.6406 MB / 0.7061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.39e-05/0.8854, allocations: 4 kB / 1.109 GB, free: 0.6367 MB / 0.7061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002641/0.888, allocations: 0.7115 MB / 1.11 GB, free: 15.89 MB / 0.7217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007664/0.8888, allocations: 198.6 kB / 1.11 GB, free: 15.68 MB / 0.7217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004822/0.8893, allocations: 152.8 kB / 1.11 GB, free: 15.53 MB / 0.7217 GB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.8894, allocations: 0 / 1.11 GB, free: 15.53 MB / 0.7217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.406e-05/0.8894, allocations: 44.19 kB / 1.11 GB, free: 15.48 MB / 0.7217 GB Notification: Performance of pre-optimization done (n=14): time 2.605e-06/0.8894, allocations: 0 / 1.11 GB, free: 15.48 MB / 0.7217 GB Notification: Performance of matching and sorting (n=14): time 0.00132/0.8908, allocations: 345.9 kB / 1.11 GB, free: 15.14 MB / 0.7217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/0.8909, allocations: 132.5 kB / 1.11 GB, free: 14.98 MB / 0.7217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007287/0.8916, allocations: 303.5 kB / 1.111 GB, free: 14.67 MB / 0.7217 GB Notification: Performance of collectPreVariables (initialization): time 5.377e-05/0.8917, allocations: 29.7 kB / 1.111 GB, free: 14.64 MB / 0.7217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001339/0.8919, allocations: 136.3 kB / 1.111 GB, free: 14.5 MB / 0.7217 GB Notification: Performance of collectInitialBindings (initialization): time 8.71e-05/0.892, allocations: 43.36 kB / 1.111 GB, free: 14.46 MB / 0.7217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.934e-05/0.892, allocations: 112 / 1.111 GB, free: 14.46 MB / 0.7217 GB Notification: Performance of setup shared object (initialization): time 0.0001859/0.8922, allocations: 348.8 kB / 1.111 GB, free: 14.11 MB / 0.7217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006362/0.8929, allocations: 199.9 kB / 1.111 GB, free: 13.91 MB / 0.7217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006339/0.8935, allocations: 204 kB / 1.112 GB, free: 13.71 MB / 0.7217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008783/0.8944, allocations: 203.2 kB / 1.112 GB, free: 13.52 MB / 0.7217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.8945, allocations: 0 / 1.112 GB, free: 13.52 MB / 0.7217 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001853/0.8963, allocations: 485 kB / 1.112 GB, free: 13.04 MB / 0.7217 GB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/0.8964, allocations: 4 kB / 1.112 GB, free: 13.04 MB / 0.7217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.8964, allocations: 0 / 1.112 GB, free: 13.04 MB / 0.7217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/0.8964, allocations: 0 / 1.112 GB, free: 13.04 MB / 0.7217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005264/0.897, allocations: 43.97 kB / 1.112 GB, free: 12.99 MB / 0.7217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/0.897, allocations: 0 / 1.112 GB, free: 12.99 MB / 0.7217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006297/0.8976, allocations: 51.81 kB / 1.112 GB, free: 12.94 MB / 0.7217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.907e-05/0.8977, allocations: 12 kB / 1.112 GB, free: 12.93 MB / 0.7217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (mod.temDif_mod.i,mod.watFlo_mod.i,mod.airFlo_mod.i) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 6 * 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.0002724/0.898, allocations: 207.2 kB / 1.113 GB, free: 12.7 MB / 0.7217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001515/0.8982, allocations: 23.72 kB / 1.113 GB, free: 12.68 MB / 0.7217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001259/0.8983, allocations: 25.95 kB / 1.113 GB, free: 12.65 MB / 0.7217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/0.8984, allocations: 4 kB / 1.113 GB, free: 12.65 MB / 0.7217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.151e-05/0.8984, allocations: 3.906 kB / 1.113 GB, free: 12.64 MB / 0.7217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.8984, allocations: 0 / 1.113 GB, free: 12.64 MB / 0.7217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006708/0.8991, allocations: 310 kB / 1.113 GB, free: 12.3 MB / 0.7217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.163e-06/0.8991, allocations: 5.219 kB / 1.113 GB, free: 12.3 MB / 0.7217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004624/0.8996, allocations: 39.97 kB / 1.113 GB, free: 12.26 MB / 0.7217 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.506e-06/0.8996, allocations: 5.875 kB / 1.113 GB, free: 12.26 MB / 0.7217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.383e-05/0.8997, allocations: 8 kB / 1.113 GB, free: 12.25 MB / 0.7217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.8997, allocations: 0 / 1.113 GB, free: 12.25 MB / 0.7217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.8997, allocations: 0 / 1.113 GB, free: 12.25 MB / 0.7217 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001334/0.9011, allocations: 466.9 kB / 1.113 GB, free: 11.78 MB / 0.7217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001433/0.9012, allocations: 108.8 kB / 1.114 GB, free: 11.65 MB / 0.7217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/0.9014, allocations: 4 kB / 1.114 GB, free: 11.65 MB / 0.7217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006342/0.902, allocations: 48.56 kB / 1.114 GB, free: 11.6 MB / 0.7217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000189/0.9022, allocations: 27.97 kB / 1.114 GB, free: 11.57 MB / 0.7217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.68e-05/0.9023, allocations: 8 kB / 1.114 GB, free: 11.57 MB / 0.7217 GB Notification: Performance of sort global known variables: time 0.0005267/0.9028, allocations: 239.1 kB / 1.114 GB, free: 11.34 MB / 0.7217 GB Notification: Performance of remove unused functions: time 0.0009762/0.9038, allocations: 115.8 kB / 1.114 GB, free: 11.22 MB / 0.7217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (mod.temDif_mod.i,mod.watFlo_mod.i,mod.airFlo_mod.i) * Number of discrete states: 3 (mod.airFlo_mod.i,mod.watFlo_mod.i,mod.temDif_mod.i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0008419/0.9047, allocations: 269.2 kB / 1.114 GB, free: 10.96 MB / 0.7217 GB Notification: Performance of simCode: created initialization part: time 0.001376/0.9061, allocations: 0.5371 MB / 1.115 GB, free: 10.38 MB / 0.7217 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.9061, allocations: 0 / 1.115 GB, free: 10.38 MB / 0.7217 GB Notification: Performance of simCode: created simulation system equations: time 0.0006692/0.9068, allocations: 257 kB / 1.115 GB, free: 10.11 MB / 0.7217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007774/0.9076, allocations: 65.48 kB / 1.115 GB, free: 10.06 MB / 0.7217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001911/0.9095, allocations: 0.4919 MB / 1.116 GB, free: 9.535 MB / 0.7217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008622/0.9104, allocations: 0.8134 MB / 1.116 GB, free: 8.695 MB / 0.7217 GB Notification: Performance of SimCode: time 1.132e-06/0.9104, allocations: 0 / 1.116 GB, free: 8.695 MB / 0.7217 GB Notification: Performance of Templates: time 0.02128/0.9317, allocations: 5.276 MB / 1.121 GB, free: 3.551 MB / 0.7217 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1)