Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_8_0_0_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_8_0_0_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad",fmuType="me",version="2.0",platforms={"static"}) [: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.0/package.mo): time 2.204/2.204, allocations: 284.8 MB / 292.1 MB, free: 10.79 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.001591/0.00159, allocations: 181.3 kB / 360.3 MB, free: 7.562 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.802/1.802, allocations: 205.1 MB / 0.6187 GB, free: 13.23 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.001329/0.001327, allocations: 98.02 kB / 0.7317 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2962/0.2975, allocations: 121.4 MB / 0.8502 GB, free: 3.922 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6478/0.9454, allocations: 115.2 MB / 0.9628 GB, free: 78.28 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2327/1.178, allocations: 138.9 MB / 1.098 GB, free: 1.918 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003679/1.179, allocations: 89.02 kB / 1.099 GB, free: 1.832 MB / 0.698 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.03498/1.214, allocations: 7.842 MB / 1.106 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/1.214, allocations: 8 kB / 1.106 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.321e-05/1.214, allocations: 83.78 kB / 1.106 GB, free: 9.941 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001948/1.214, allocations: 247 kB / 1.106 GB, free: 9.66 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.639e-05/1.214, allocations: 152.2 kB / 1.107 GB, free: 9.512 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.857e-05/1.214, allocations: 155.7 kB / 1.107 GB, free: 9.359 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.823e-05/1.214, allocations: 150.6 kB / 1.107 GB, free: 9.211 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.7e-05/1.214, allocations: 109.5 kB / 1.107 GB, free: 9.098 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.082e-05/1.214, allocations: 75.91 kB / 1.107 GB, free: 9.023 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.508e-05/1.214, allocations: 152 kB / 1.107 GB, free: 8.875 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.018e-05/1.214, allocations: 150.6 kB / 1.107 GB, free: 8.727 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003068/1.215, allocations: 432.1 kB / 1.108 GB, free: 8.27 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.896e-05/1.215, allocations: 173.9 kB / 1.108 GB, free: 8.09 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.379e-05/1.215, allocations: 81.17 kB / 1.108 GB, free: 8.008 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.303e-05/1.215, allocations: 75.78 kB / 1.108 GB, free: 7.934 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.67e-05/1.215, allocations: 115.9 kB / 1.108 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 1.653e-06/1.215, allocations: 0 / 1.108 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 9.623e-05/1.215, allocations: 37.2 kB / 1.108 GB, free: 7.773 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.841e-05/1.215, allocations: 128.5 kB / 1.108 GB, free: 7.617 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/1.215, allocations: 89 kB / 1.108 GB, free: 7.523 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/1.215, allocations: 25.7 kB / 1.108 GB, free: 7.492 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.361e-05/1.215, allocations: 80.14 kB / 1.109 GB, free: 7.41 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.833e-06/1.215, allocations: 0.9375 kB / 1.109 GB, free: 7.41 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.01e-07/1.215, allocations: 0 / 1.109 GB, free: 7.41 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001285/1.216, allocations: 324 kB / 1.109 GB, free: 7.086 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.148e-06/1.216, allocations: 0 / 1.109 GB, free: 7.086 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.59e-05/1.216, allocations: 19.17 kB / 1.109 GB, free: 7.059 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.877e-05/1.216, allocations: 76.75 kB / 1.109 GB, free: 6.984 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.853e-05/1.216, allocations: 75.28 kB / 1.109 GB, free: 6.91 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.889e-05/1.216, allocations: 35.45 kB / 1.109 GB, free: 6.871 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/1.216, allocations: 8.688 kB / 1.109 GB, free: 6.863 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.25e-05/1.216, allocations: 79.28 kB / 1.109 GB, free: 6.785 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.988e-05/1.216, allocations: 154.3 kB / 1.109 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.66e-05/1.216, allocations: 83.2 kB / 1.109 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.467e-05/1.216, allocations: 150.6 kB / 1.11 GB, free: 6.406 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002329/1.216, allocations: 84.61 kB / 1.11 GB, free: 6.324 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.247e-05/1.216, allocations: 79.22 kB / 1.11 GB, free: 6.246 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.0001427/1.217, allocations: 267.2 kB / 1.11 GB, free: 5.977 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.851e-05/1.217, allocations: 105 kB / 1.11 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.879e-05/1.217, allocations: 104.4 kB / 1.11 GB, free: 5.758 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.095e-05/1.217, allocations: 188.2 kB / 1.11 GB, free: 5.566 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.016e-05/1.217, allocations: 180.2 kB / 1.11 GB, free: 5.383 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.934e-05/1.217, allocations: 180.3 kB / 1.111 GB, free: 5.199 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002584/1.217, allocations: 389.7 kB / 1.111 GB, free: 4.773 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.969e-05/1.217, allocations: 104.9 kB / 1.111 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.277e-05/1.217, allocations: 105.3 kB / 1.111 GB, free: 4.555 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.39e-05/1.217, allocations: 185.7 kB / 1.111 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.794e-05/1.218, allocations: 184.3 kB / 1.112 GB, free: 4.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.029e-05/1.218, allocations: 180.3 kB / 1.112 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.076e-05/1.218, allocations: 180.2 kB / 1.112 GB, free: 3.812 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001784/1.218, allocations: 303.8 kB / 1.112 GB, free: 3.492 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003992/1.218, allocations: 0.6759 MB / 1.113 GB, free: 2.789 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.665e-05/1.218, allocations: 190.1 kB / 1.113 GB, free: 2.578 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.448e-05/1.219, allocations: 180.2 kB / 1.113 GB, free: 2.395 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002342/1.219, allocations: 112.9 kB / 1.113 GB, free: 2.277 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.448e-05/1.219, allocations: 176.3 kB / 1.114 GB, free: 2.098 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.119e-05/1.219, allocations: 108.9 kB / 1.114 GB, free: 1.984 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.801e-05/1.219, allocations: 79.28 kB / 1.114 GB, free: 1.906 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001501/1.22, allocations: 107.9 kB / 1.114 GB, free: 1.801 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.001057/1.222, allocations: 397 kB / 1.114 GB, free: 1.465 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.671e-05/1.222, allocations: 4 kB / 1.114 GB, free: 1.461 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/1.222, allocations: 0 / 1.114 GB, free: 1.461 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.438e-06/1.222, allocations: 8.688 kB / 1.114 GB, free: 1.453 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003805/1.222, allocations: 0.5228 MB / 1.115 GB, free: 0.9297 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003435/1.225, allocations: 0.7862 MB / 1.115 GB, free: 120 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003876/1.226, allocations: 0.6802 MB / 1.116 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of SimCode: time 1.623e-06/1.226, allocations: 0 / 1.116 GB, free: 15.41 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_8.0.0_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_8.0.0_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad.fmu > Buildings_8.0.0_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1)