Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.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.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.376/1.376, allocations: 289.8 MB / 297.1 MB, free: 6.691 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.0009951/0.0009951, allocations: 181.3 kB / 366.3 MB, free: 2 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.122/1.122, allocations: 205.2 MB / 0.6256 GB, free: 5.836 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.0008954/0.0008957, allocations: 87.31 kB / 0.7395 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2151/0.216, allocations: 122.4 MB / 0.8591 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4679/0.6839, allocations: 116.3 MB / 0.9726 GB, free: 68.6 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1494/0.8333, allocations: 140.8 MB / 1.11 GB, free: 7.688 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002072/0.8335, allocations: 87.88 kB / 1.11 GB, free: 7.602 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.02064/0.8542, allocations: 7.584 MB / 1.118 GB, free: 12 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.8543, allocations: 8 kB / 1.118 GB, free: 4 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.042e-05/0.8543, allocations: 83.19 kB / 1.118 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001616/0.8545, allocations: 246.3 kB / 1.118 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.355e-05/0.8546, allocations: 150.6 kB / 1.118 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.911e-05/0.8546, allocations: 156.2 kB / 1.118 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.557e-05/0.8547, allocations: 154.5 kB / 1.118 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.671e-05/0.8547, allocations: 105 kB / 1.118 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.308e-05/0.8548, allocations: 75.28 kB / 1.119 GB, free: 15 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.493e-05/0.8549, allocations: 150.6 kB / 1.119 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-05/0.8549, allocations: 150.6 kB / 1.119 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002239/0.8551, allocations: 434.4 kB / 1.119 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.903e-05/0.8552, allocations: 173.1 kB / 1.119 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.63e-05/0.8552, allocations: 84.14 kB / 1.119 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/0.8553, allocations: 79.28 kB / 1.12 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.8553, allocations: 109.8 kB / 1.12 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.8553, allocations: 0 / 1.12 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of matching and sorting (n=0): time 6.428e-05/0.8554, allocations: 29.7 kB / 1.12 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.146e-05/0.8554, allocations: 55.41 kB / 1.12 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.712e-05/0.8555, allocations: 100.8 kB / 1.12 GB, free: 13.58 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.8555, allocations: 25.7 kB / 1.12 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.056e-05/0.8555, allocations: 80.14 kB / 1.12 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.493e-06/0.8555, allocations: 4 kB / 1.12 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-06/0.8555, allocations: 0.6562 kB / 1.12 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.815e-05/0.8556, allocations: 318.8 kB / 1.12 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.606e-06/0.8556, allocations: 7.938 kB / 1.12 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.608e-05/0.8557, allocations: 30.56 kB / 1.12 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001189/0.8558, allocations: 15.97 kB / 1.12 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.8558, allocations: 0 / 1.12 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001781/0.856, allocations: 61.61 kB / 1.12 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.856, allocations: 4.844 kB / 1.12 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.856, allocations: 8 kB / 1.12 GB, free: 13 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.856, allocations: 3.906 kB / 1.12 GB, free: 13 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.821e-05/0.8561, allocations: 7.984 kB / 1.12 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.8561, allocations: 1.562 kB / 1.12 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.05e-05/0.8562, allocations: 4 kB / 1.12 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.8562, allocations: 4 kB / 1.12 GB, free: 12.98 MB / 0.7292 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.202e-05/0.8563, allocations: 176.3 kB / 1.121 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.512e-05/0.8564, allocations: 113.4 kB / 1.121 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.096e-05/0.8564, allocations: 116.1 kB / 1.121 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-05/0.8565, allocations: 176.3 kB / 1.121 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.557e-05/0.8565, allocations: 180.2 kB / 1.121 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.082e-05/0.8566, allocations: 176.3 kB / 1.121 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001468/0.8567, allocations: 385.8 kB / 1.122 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.67e-05/0.8567, allocations: 109.6 kB / 1.122 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.792e-05/0.8568, allocations: 101 kB / 1.122 GB, free: 11.38 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.606e-05/0.8568, allocations: 180.3 kB / 1.122 GB, free: 11.19 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001199/0.857, allocations: 189.7 kB / 1.122 GB, free: 11 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-05/0.857, allocations: 184.3 kB / 1.122 GB, free: 10.81 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.051e-05/0.8571, allocations: 180.3 kB / 1.123 GB, free: 10.63 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000114/0.8572, allocations: 303.8 kB / 1.123 GB, free: 10.31 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002084/0.8574, allocations: 0.6767 MB / 1.124 GB, free: 9.605 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.977e-05/0.8575, allocations: 190.3 kB / 1.124 GB, free: 9.395 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.557e-05/0.8576, allocations: 180.2 kB / 1.124 GB, free: 9.211 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.155e-05/0.8576, allocations: 109 kB / 1.124 GB, free: 9.098 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.342e-05/0.8577, allocations: 176.3 kB / 1.124 GB, free: 8.918 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.943e-05/0.8577, allocations: 109 kB / 1.124 GB, free: 8.805 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.189e-05/0.8578, allocations: 79.28 kB / 1.124 GB, free: 8.727 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0009759/0.8587, allocations: 135.9 kB / 1.124 GB, free: 8.594 MB / 0.7292 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.0007967/0.8595, allocations: 481 kB / 1.125 GB, free: 8.168 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.436e-05/0.8596, allocations: 19.92 kB / 1.125 GB, free: 8.148 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.8596, allocations: 0 / 1.125 GB, free: 8.148 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.222e-06/0.8596, allocations: 0 / 1.125 GB, free: 8.148 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002697/0.8599, allocations: 0.5185 MB / 1.125 GB, free: 7.625 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001616/0.8601, allocations: 121.9 kB / 1.126 GB, free: 7.484 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002659/0.8604, allocations: 0.6921 MB / 1.126 GB, free: 6.766 MB / 0.7292 GB Notification: Performance of SimCode: time 2.51e-07/0.8604, allocations: 0 / 1.126 GB, free: 6.766 MB / 0.7292 GB (rm -f Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.fmu > Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1)