Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad") translateModel(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad") [: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.0.1-maint.8.0.x/package.mo): time 1.49/1.49, allocations: 285.5 MB / 292.8 MB, free: 10.45 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.001111/0.001111, allocations: 177.3 kB / 361.1 MB, free: 7.102 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.3/1.3, allocations: 205.1 MB / 0.6195 GB, free: 10.29 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.0008257/0.0008257, allocations: 88.25 kB / 0.7326 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.592e-06/6.632e-06, allocations: 0 / 0.8511 GB, free: 2.941 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.593/0.593, allocations: 115.3 MB / 0.9637 GB, free: 78.28 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1799/0.773, allocations: 139.1 MB / 1.1 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002556/0.7733, allocations: 89.3 kB / 1.1 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.02086/0.7942, allocations: 7.427 MB / 1.107 GB, free: 9.492 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.723e-06/0.7942, allocations: 0 / 1.107 GB, free: 9.492 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004206/0.7946, allocations: 414.1 kB / 1.107 GB, free: 9.047 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.7947, allocations: 8.531 kB / 1.107 GB, free: 9.039 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.698e-05/0.7948, allocations: 83.22 kB / 1.107 GB, free: 8.957 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001637/0.7949, allocations: 246.2 kB / 1.108 GB, free: 8.676 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.067e-05/0.795, allocations: 150.6 kB / 1.108 GB, free: 8.527 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.167e-05/0.795, allocations: 151.6 kB / 1.108 GB, free: 8.379 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.862e-05/0.7951, allocations: 155.8 kB / 1.108 GB, free: 8.227 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.264e-05/0.7951, allocations: 107.9 kB / 1.108 GB, free: 8.117 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.49e-05/0.7952, allocations: 75.28 kB / 1.108 GB, free: 8.043 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.11e-05/0.7952, allocations: 150.6 kB / 1.108 GB, free: 7.895 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.091e-05/0.7953, allocations: 154.5 kB / 1.108 GB, free: 7.742 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002436/0.7955, allocations: 431.2 kB / 1.109 GB, free: 7.285 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.576e-05/0.7956, allocations: 179 kB / 1.109 GB, free: 7.102 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.034e-05/0.7957, allocations: 81.14 kB / 1.109 GB, free: 7.02 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/0.7957, allocations: 76.28 kB / 1.109 GB, free: 6.945 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.715e-05/0.7957, allocations: 107 kB / 1.109 GB, free: 6.832 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.7958, allocations: 0.8438 kB / 1.109 GB, free: 6.832 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 7.26e-05/0.7958, allocations: 30.67 kB / 1.109 GB, free: 6.797 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.851e-05/0.7959, allocations: 132.5 kB / 1.109 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.719e-05/0.796, allocations: 97.58 kB / 1.11 GB, free: 6.535 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.796, allocations: 26.64 kB / 1.11 GB, free: 6.504 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.534e-05/0.7961, allocations: 80.14 kB / 1.11 GB, free: 6.422 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.993e-06/0.7961, allocations: 0.5312 kB / 1.11 GB, free: 6.422 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.8e-07/0.7961, allocations: 0.5 kB / 1.11 GB, free: 6.422 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.7962, allocations: 315.6 kB / 1.11 GB, free: 6.105 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.416e-06/0.7962, allocations: 0.8438 kB / 1.11 GB, free: 6.105 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.584e-05/0.7962, allocations: 22.17 kB / 1.11 GB, free: 6.078 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.179e-05/0.7963, allocations: 79.28 kB / 1.11 GB, free: 6 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-05/0.7963, allocations: 75.28 kB / 1.11 GB, free: 5.926 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.601e-05/0.7964, allocations: 33.69 kB / 1.11 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.7964, allocations: 8 kB / 1.11 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.436e-05/0.7964, allocations: 79.22 kB / 1.11 GB, free: 5.801 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.403e-05/0.7965, allocations: 152.2 kB / 1.11 GB, free: 5.652 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.04e-05/0.7965, allocations: 75.28 kB / 1.11 GB, free: 5.578 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.815e-05/0.7966, allocations: 158.2 kB / 1.111 GB, free: 5.426 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001327/0.7967, allocations: 81.34 kB / 1.111 GB, free: 5.348 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.296e-05/0.7967, allocations: 85.02 kB / 1.111 GB, free: 5.266 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001126/0.7969, allocations: 263.4 kB / 1.111 GB, free: 5 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.132e-05/0.7969, allocations: 104.9 kB / 1.111 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.441e-05/0.797, allocations: 108.1 kB / 1.111 GB, free: 4.777 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-05/0.797, allocations: 180.3 kB / 1.111 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-05/0.7971, allocations: 188.2 kB / 1.112 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.837e-05/0.7972, allocations: 176.3 kB / 1.112 GB, free: 4.223 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000176/0.7973, allocations: 377.8 kB / 1.112 GB, free: 3.809 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.786e-05/0.7974, allocations: 114.3 kB / 1.112 GB, free: 3.691 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.186e-05/0.7974, allocations: 105.3 kB / 1.112 GB, free: 3.582 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.299e-05/0.7975, allocations: 180.3 kB / 1.112 GB, free: 3.398 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.121e-05/0.7976, allocations: 192.2 kB / 1.113 GB, free: 3.203 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.702e-05/0.7976, allocations: 176.3 kB / 1.113 GB, free: 3.023 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.689e-05/0.7977, allocations: 184.2 kB / 1.113 GB, free: 2.836 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001187/0.7978, allocations: 299.8 kB / 1.113 GB, free: 2.52 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.592e-05/0.7979, allocations: 191.9 kB / 1.113 GB, free: 2.309 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.445e-05/0.798, allocations: 184.2 kB / 1.114 GB, free: 2.121 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001319/0.7981, allocations: 101 kB / 1.114 GB, free: 2.016 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.735e-05/0.7982, allocations: 180.3 kB / 1.114 GB, free: 1.832 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.159e-05/0.7982, allocations: 108.9 kB / 1.114 GB, free: 1.719 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.089e-05/0.7982, allocations: 79.28 kB / 1.114 GB, free: 1.641 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004682/0.7987, allocations: 99.91 kB / 1.114 GB, free: 1.543 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006862/0.7994, allocations: 404.3 kB / 1.115 GB, free: 1.203 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.002e-05/0.7995, allocations: 3.938 kB / 1.115 GB, free: 1.199 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.7995, allocations: 0 / 1.115 GB, free: 1.199 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.81e-07/0.7995, allocations: 0 / 1.115 GB, free: 1.199 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002568/0.7997, allocations: 0.5244 MB / 1.115 GB, free: 0.6719 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002034/0.8018, allocations: 0.794 MB / 1.116 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002412/0.802, allocations: 0.6849 MB / 1.117 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of SimCode: time 2.9e-07/0.8021, allocations: 4 kB / 1.117 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of Templates: time 0.004351/0.8064, allocations: 1.958 MB / 1.118 GB, free: 13.23 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.makefile (rm -f Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & ./Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1)