Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.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: "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.724/1.724, allocations: 289.8 MB / 297.1 MB, free: 8.949 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.001149/0.00115, allocations: 192.3 kB / 366.3 MB, free: 11.33 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.532/1.532, allocations: 205.1 MB / 0.6256 GB, free: 11.28 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009662/0.0009663, allocations: 94.58 kB / 0.7396 GB, free: 6.484 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.5923/0.5933, allocations: 122.4 MB / 0.8591 GB, free: 148 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2697/0.8631, allocations: 116.3 MB / 0.9727 GB, free: 31.62 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.819/1.682, allocations: 140 MB / 1.109 GB, free: 16.19 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003281/1.683, allocations: 89.25 kB / 1.11 GB, free: 16.19 MB / 0.6823 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.02384/1.706, allocations: 7.845 MB / 1.117 GB, free: 15.45 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.426e-05/1.706, allocations: 7.938 kB / 1.117 GB, free: 15.45 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.971e-05/1.707, allocations: 77.41 kB / 1.117 GB, free: 15.38 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001691/1.707, allocations: 247.5 kB / 1.117 GB, free: 15.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.799e-05/1.707, allocations: 154.5 kB / 1.118 GB, free: 14.95 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.026e-05/1.707, allocations: 151.6 kB / 1.118 GB, free: 14.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.754e-05/1.707, allocations: 158.5 kB / 1.118 GB, free: 14.64 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.093e-05/1.707, allocations: 105.8 kB / 1.118 GB, free: 14.54 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.475e-05/1.707, allocations: 76.83 kB / 1.118 GB, free: 14.46 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.465e-05/1.707, allocations: 150.6 kB / 1.118 GB, free: 14.31 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.493e-05/1.707, allocations: 152.1 kB / 1.118 GB, free: 14.16 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002223/1.707, allocations: 433.2 kB / 1.119 GB, free: 13.71 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.875e-05/1.707, allocations: 171.7 kB / 1.119 GB, free: 13.54 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.844e-05/1.707, allocations: 84.08 kB / 1.119 GB, free: 13.45 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.355e-05/1.707, allocations: 80.3 kB / 1.119 GB, free: 13.37 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.501e-05/1.707, allocations: 110.9 kB / 1.119 GB, free: 13.25 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/1.707, allocations: 0 / 1.119 GB, free: 13.25 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 9.015e-05/1.708, allocations: 29.12 kB / 1.119 GB, free: 13.22 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.323e-05/1.708, allocations: 130.2 kB / 1.119 GB, free: 13.07 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.394e-05/1.708, allocations: 95.42 kB / 1.119 GB, free: 12.98 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/1.708, allocations: 27.27 kB / 1.12 GB, free: 12.95 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 2.463e-05/1.708, allocations: 80.14 kB / 1.12 GB, free: 12.86 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.704e-06/1.708, allocations: 1.688 kB / 1.12 GB, free: 12.86 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.71e-07/1.708, allocations: 0 / 1.12 GB, free: 12.86 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.355e-05/1.708, allocations: 316 kB / 1.12 GB, free: 12.55 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.418e-06/1.708, allocations: 0 / 1.12 GB, free: 12.55 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.1e-05/1.708, allocations: 26.27 kB / 1.12 GB, free: 12.52 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.247e-05/1.708, allocations: 76.34 kB / 1.12 GB, free: 12.45 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.928e-05/1.708, allocations: 75.28 kB / 1.12 GB, free: 12.37 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.958e-05/1.708, allocations: 35.09 kB / 1.12 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/1.708, allocations: 12.94 kB / 1.12 GB, free: 12.33 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.226e-05/1.708, allocations: 75.28 kB / 1.12 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.574e-05/1.708, allocations: 156.5 kB / 1.12 GB, free: 12.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.197e-05/1.708, allocations: 76.25 kB / 1.12 GB, free: 12.03 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.626e-05/1.708, allocations: 152.7 kB / 1.121 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001338/1.708, allocations: 84.39 kB / 1.121 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.308e-05/1.708, allocations: 80.31 kB / 1.121 GB, free: 11.72 MB / 0.6823 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 9.434e-05/1.709, allocations: 257.4 kB / 1.121 GB, free: 11.47 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.075e-05/1.709, allocations: 108.2 kB / 1.121 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.624e-05/1.709, allocations: 113.8 kB / 1.121 GB, free: 11.24 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.822e-05/1.709, allocations: 182 kB / 1.121 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.693e-05/1.709, allocations: 177.9 kB / 1.121 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.938e-05/1.709, allocations: 185.6 kB / 1.122 GB, free: 10.69 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001654/1.709, allocations: 382.8 kB / 1.122 GB, free: 10.28 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.3e-05/1.709, allocations: 102.3 kB / 1.122 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.373e-05/1.709, allocations: 111.8 kB / 1.122 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.399e-05/1.709, allocations: 180.2 kB / 1.122 GB, free: 25.88 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.582e-05/1.709, allocations: 190.8 kB / 1.123 GB, free: 25.68 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001413/1.709, allocations: 181.1 kB / 1.123 GB, free: 25.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.282e-05/1.709, allocations: 178.6 kB / 1.123 GB, free: 25.32 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001704/1.71, allocations: 304.9 kB / 1.123 GB, free: 25 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003712/1.71, allocations: 0.6822 MB / 1.124 GB, free: 24.31 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.331e-05/1.71, allocations: 182.1 kB / 1.124 GB, free: 24.11 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.177e-05/1.71, allocations: 178.6 kB / 1.124 GB, free: 23.93 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001533/1.71, allocations: 105.2 kB / 1.124 GB, free: 23.83 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.38e-05/1.71, allocations: 189.9 kB / 1.125 GB, free: 23.64 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.246e-05/1.711, allocations: 105 kB / 1.125 GB, free: 23.53 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.053e-05/1.711, allocations: 78.2 kB / 1.125 GB, free: 23.46 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001257/1.712, allocations: 103 kB / 1.125 GB, free: 23.43 MB / 0.698 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.0008523/1.713, allocations: 410.6 kB / 1.125 GB, free: 23.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 4.82e-05/1.713, allocations: 1.734 kB / 1.125 GB, free: 23.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/1.713, allocations: 4.844 kB / 1.125 GB, free: 23.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.042e-06/1.713, allocations: 0 / 1.125 GB, free: 23.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003061/1.713, allocations: 0.5177 MB / 1.126 GB, free: 22.68 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002285/1.715, allocations: 0.7954 MB / 1.126 GB, free: 22.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000279/1.716, allocations: 0.6845 MB / 1.127 GB, free: 21.79 MB / 0.698 GB Notification: Performance of SimCode: time 2.61e-07/1.716, allocations: 1.062 kB / 1.127 GB, free: 21.79 MB / 0.698 GB (rm -f Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad.fmu > Buildings_8_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1)