Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.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.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",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.303/1.303, 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.0008928/0.0008929, allocations: 185.3 kB / 361.1 MB, free: 7.094 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9977/0.9977, 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.0007574/0.0007574, allocations: 86.72 kB / 0.7326 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.176/0.1767, allocations: 121.4 MB / 0.8511 GB, free: 2.898 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4114/0.5882, allocations: 115.3 MB / 0.9638 GB, free: 77.97 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1351/0.7233, allocations: 139.8 MB / 1.1 GB, free: 220 kB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002064/0.7235, allocations: 88.5 kB / 1.1 GB, free: 132 kB / 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.0205/0.744, allocations: 7.579 MB / 1.108 GB, free: 8.602 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.7441, allocations: 13.19 kB / 1.108 GB, free: 8.59 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.101e-05/0.7441, allocations: 85.59 kB / 1.108 GB, free: 8.508 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/0.7443, allocations: 234.4 kB / 1.108 GB, free: 8.238 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.224e-05/0.7443, allocations: 154.6 kB / 1.108 GB, free: 8.086 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.167e-05/0.7444, allocations: 150.6 kB / 1.108 GB, free: 7.938 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.008e-05/0.7444, allocations: 159.8 kB / 1.109 GB, free: 7.781 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.486e-05/0.7444, allocations: 102.1 kB / 1.109 GB, free: 7.676 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.026e-05/0.7445, allocations: 79.28 kB / 1.109 GB, free: 7.598 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.719e-05/0.7445, allocations: 155.1 kB / 1.109 GB, free: 7.445 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-05/0.7445, allocations: 152.7 kB / 1.109 GB, free: 7.297 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002037/0.7448, allocations: 441.1 kB / 1.109 GB, free: 6.832 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.123e-05/0.7448, allocations: 166.2 kB / 1.11 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.46e-05/0.7448, allocations: 80.67 kB / 1.11 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.7449, allocations: 76.56 kB / 1.11 GB, free: 6.504 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.7449, allocations: 106.7 kB / 1.11 GB, free: 6.391 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.7449, allocations: 0 / 1.11 GB, free: 6.391 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 6.409e-05/0.745, allocations: 34.33 kB / 1.11 GB, free: 6.352 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.942e-05/0.745, allocations: 52.28 kB / 1.11 GB, free: 6.289 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.62e-05/0.7451, allocations: 104.8 kB / 1.11 GB, free: 6.18 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.7451, allocations: 30.48 kB / 1.11 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.02e-05/0.7451, allocations: 81.02 kB / 1.11 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.334e-06/0.7451, allocations: 0 / 1.11 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.914e-06/0.7451, allocations: 3.938 kB / 1.11 GB, free: 6.059 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.59e-05/0.7452, allocations: 315.5 kB / 1.11 GB, free: 5.742 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.678e-06/0.7452, allocations: 4.719 kB / 1.11 GB, free: 5.738 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.8e-05/0.7453, allocations: 23.22 kB / 1.11 GB, free: 5.707 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001163/0.7454, allocations: 27.62 kB / 1.11 GB, free: 5.684 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.7454, allocations: 0 / 1.11 GB, free: 5.684 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001881/0.7456, allocations: 58.83 kB / 1.111 GB, free: 5.621 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.719e-06/0.7456, allocations: 4 kB / 1.111 GB, free: 5.617 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.7456, allocations: 0.5 kB / 1.111 GB, free: 5.617 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.7456, allocations: 6.25 kB / 1.111 GB, free: 5.613 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.618e-05/0.7457, allocations: 8 kB / 1.111 GB, free: 5.605 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/0.7457, allocations: 3.719 kB / 1.111 GB, free: 5.605 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.176e-05/0.7458, allocations: 4.078 kB / 1.111 GB, free: 5.602 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.7458, allocations: 12 kB / 1.111 GB, free: 5.59 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 7.087e-05/0.7459, allocations: 184.2 kB / 1.111 GB, free: 5.402 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.971e-05/0.7459, allocations: 104.9 kB / 1.111 GB, free: 5.293 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.458e-05/0.746, allocations: 104.1 kB / 1.111 GB, free: 5.184 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.253e-05/0.746, allocations: 184.2 kB / 1.111 GB, free: 4.996 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.366e-05/0.7461, allocations: 184.3 kB / 1.111 GB, free: 4.809 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.25e-05/0.7461, allocations: 176.3 kB / 1.111 GB, free: 4.629 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001576/0.7463, allocations: 389.7 kB / 1.112 GB, free: 4.203 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.29e-05/0.7463, allocations: 101 kB / 1.112 GB, free: 4.098 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.326e-05/0.7464, allocations: 101 kB / 1.112 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.306e-05/0.7464, allocations: 180.9 kB / 1.112 GB, free: 3.809 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.659e-05/0.7465, allocations: 187.2 kB / 1.112 GB, free: 3.621 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.149e-05/0.7465, allocations: 184.3 kB / 1.113 GB, free: 3.434 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.074e-05/0.7465, allocations: 184.2 kB / 1.113 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.973e-05/0.7466, allocations: 299.8 kB / 1.113 GB, free: 2.93 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001818/0.7468, allocations: 0.6836 MB / 1.114 GB, free: 2.219 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.867e-05/0.7469, allocations: 182.4 kB / 1.114 GB, free: 2.016 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.767e-05/0.7469, allocations: 186 kB / 1.114 GB, free: 1.828 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.614e-05/0.747, allocations: 113 kB / 1.114 GB, free: 1.711 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.533e-05/0.7471, allocations: 180.3 kB / 1.114 GB, free: 1.527 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.449e-05/0.7471, allocations: 104.9 kB / 1.114 GB, free: 1.418 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.876e-05/0.7471, allocations: 82.03 kB / 1.114 GB, free: 1.34 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0009178/0.7481, allocations: 131.9 kB / 1.115 GB, free: 1.211 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.0006805/0.7487, allocations: 483.7 kB / 1.115 GB, free: 0.8008 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.734e-05/0.7488, allocations: 11.94 kB / 1.115 GB, free: 0.7891 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.7488, allocations: 0 / 1.115 GB, free: 0.7891 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.092e-06/0.7488, allocations: 0 / 1.115 GB, free: 0.7891 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002365/0.7491, allocations: 0.5254 MB / 1.116 GB, free: 268 kB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00015/0.7492, allocations: 129.4 kB / 1.116 GB, free: 116 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002007/0.7494, allocations: 0.6841 MB / 1.116 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of SimCode: time 2.71e-07/0.7494, allocations: 4 kB / 1.116 GB, free: 15.4 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.fmu > Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1)