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: "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.412/1.412, allocations: 285.5 MB / 292.8 MB, free: 10.44 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.001297/0.001298, allocations: 189.2 kB / 361.1 MB, free: 7.078 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.145/1.145, allocations: 205.1 MB / 0.6195 GB, free: 10.31 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.0007567/0.0007567, allocations: 85.62 kB / 0.7325 GB, free: 44.22 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1913/0.1921, allocations: 121.5 MB / 0.8512 GB, free: 2.875 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4556/0.6477, allocations: 115.3 MB / 0.9638 GB, free: 78.34 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1409/0.7886, allocations: 139.1 MB / 1.1 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001988/0.7888, allocations: 89.02 kB / 1.1 GB, free: 0.8633 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.01983/0.8087, allocations: 7.832 MB / 1.107 GB, free: 9.09 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.8087, allocations: 8.938 kB / 1.107 GB, free: 9.082 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.494e-05/0.8088, allocations: 79.28 kB / 1.107 GB, free: 9.004 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.8089, allocations: 256.5 kB / 1.108 GB, free: 8.715 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.289e-05/0.809, allocations: 159 kB / 1.108 GB, free: 8.559 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.954e-05/0.809, allocations: 151.4 kB / 1.108 GB, free: 8.41 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.531e-05/0.8091, allocations: 151.2 kB / 1.108 GB, free: 8.262 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.36e-05/0.8091, allocations: 105.9 kB / 1.108 GB, free: 8.156 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.144e-05/0.8091, allocations: 75.28 kB / 1.108 GB, free: 8.082 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.658e-05/0.8092, allocations: 154.6 kB / 1.108 GB, free: 7.93 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.941e-05/0.8092, allocations: 155.8 kB / 1.109 GB, free: 7.777 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002151/0.8095, allocations: 427.5 kB / 1.109 GB, free: 7.324 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.244e-05/0.8095, allocations: 177.6 kB / 1.109 GB, free: 7.141 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.721e-05/0.8096, allocations: 84.7 kB / 1.109 GB, free: 7.055 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.8096, allocations: 76.88 kB / 1.109 GB, free: 6.98 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.702e-05/0.8096, allocations: 110.4 kB / 1.109 GB, free: 6.863 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 1.162e-06/0.8096, allocations: 0 / 1.109 GB, free: 6.863 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 7.36e-05/0.8097, allocations: 30.2 kB / 1.109 GB, free: 6.828 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.344e-05/0.8098, allocations: 129 kB / 1.11 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.956e-05/0.8099, allocations: 93.5 kB / 1.11 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.8099, allocations: 30.38 kB / 1.11 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.935e-05/0.8099, allocations: 84.95 kB / 1.11 GB, free: 6.453 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.272e-06/0.8099, allocations: 0 / 1.11 GB, free: 6.453 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.81e-07/0.8099, allocations: 0 / 1.11 GB, free: 6.453 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.343e-05/0.81, allocations: 315.4 kB / 1.11 GB, free: 6.137 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.695e-06/0.81, allocations: 0.875 kB / 1.11 GB, free: 6.137 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.507e-05/0.8101, allocations: 19.33 kB / 1.11 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.893e-05/0.8101, allocations: 76.09 kB / 1.11 GB, free: 6.035 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.83e-05/0.8101, allocations: 75.78 kB / 1.11 GB, free: 5.961 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.57e-05/0.8102, allocations: 33.7 kB / 1.11 GB, free: 5.922 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.8102, allocations: 7.984 kB / 1.11 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.317e-05/0.8102, allocations: 83.22 kB / 1.11 GB, free: 5.832 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.642e-05/0.8103, allocations: 150.6 kB / 1.11 GB, free: 5.684 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.887e-05/0.8103, allocations: 77.06 kB / 1.111 GB, free: 5.609 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.277e-05/0.8104, allocations: 158.5 kB / 1.111 GB, free: 5.453 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001242/0.8105, allocations: 80.61 kB / 1.111 GB, free: 5.375 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.228e-05/0.8105, allocations: 81.09 kB / 1.111 GB, free: 5.297 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 9.291e-05/0.8106, allocations: 263.4 kB / 1.111 GB, free: 5.031 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.284e-05/0.8107, allocations: 104.9 kB / 1.111 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.825e-05/0.8107, allocations: 104.1 kB / 1.111 GB, free: 4.812 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.417e-05/0.8108, allocations: 184.2 kB / 1.111 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.855e-05/0.8108, allocations: 184.2 kB / 1.112 GB, free: 4.438 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.641e-05/0.8109, allocations: 184.2 kB / 1.112 GB, free: 4.25 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001599/0.811, allocations: 377.8 kB / 1.112 GB, free: 3.836 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-05/0.8111, allocations: 112.8 kB / 1.112 GB, free: 3.719 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.764e-05/0.8111, allocations: 105.3 kB / 1.112 GB, free: 3.609 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.457e-05/0.8112, allocations: 180.3 kB / 1.113 GB, free: 3.426 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.984e-05/0.8112, allocations: 184.2 kB / 1.113 GB, free: 3.238 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.633e-05/0.8113, allocations: 181.4 kB / 1.113 GB, free: 3.055 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.793e-05/0.8113, allocations: 180.3 kB / 1.113 GB, free: 2.871 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000105/0.8114, allocations: 303.8 kB / 1.113 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000208/0.8116, allocations: 0.6816 MB / 1.114 GB, free: 1.844 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.966e-05/0.8117, allocations: 187.5 kB / 1.114 GB, free: 1.637 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.194e-05/0.8118, allocations: 176.3 kB / 1.114 GB, free: 1.457 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.8119, allocations: 120.8 kB / 1.115 GB, free: 1.332 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.49e-05/0.812, allocations: 176.3 kB / 1.115 GB, free: 1.152 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.638e-05/0.812, allocations: 101 kB / 1.115 GB, free: 1.047 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.169e-05/0.8121, allocations: 79.28 kB / 1.115 GB, free: 0.9688 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0009386/0.813, allocations: 115.8 kB / 1.115 GB, free: 0.8555 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.0006151/0.8136, allocations: 397.7 kB / 1.115 GB, free: 0.5195 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 3.659e-05/0.8137, allocations: 0 / 1.115 GB, free: 0.5195 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.8137, allocations: 4 kB / 1.115 GB, free: 0.5156 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.332e-06/0.8137, allocations: 0.75 kB / 1.115 GB, free: 0.5156 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002619/0.8139, allocations: 0.5224 MB / 1.116 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001857/0.8158, allocations: 0.7937 MB / 1.117 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002095/0.816, allocations: 0.6888 MB / 1.117 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of SimCode: time 2.71e-07/0.816, allocations: 0 / 1.117 GB, free: 14.45 MB / 0.7292 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad.fmu > Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1)