Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.247/1.247, allocations: 249.4 MB / 256.7 MB, free: 6.898 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009629/0.000963, allocations: 189.2 kB / 316 MB, free: 3.523 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.119/1.119, allocations: 205.2 MB / 0.5667 GB, free: 15.59 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008225/0.0008225, allocations: 102.2 kB / 0.671 GB, free: 4.715 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3443/0.3452, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1647/0.5099, allocations: 106.3 MB / 0.8847 GB, free: 12.53 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4908/1.001, allocations: 134.6 MB / 1.016 GB, free: 3.703 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002198/1.001, allocations: 91.12 kB / 1.016 GB, free: 3.652 MB / 0.6355 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.02128/1.022, allocations: 7.583 MB / 1.024 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/1.022, allocations: 11.94 kB / 1.024 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.717e-05/1.022, allocations: 87.22 kB / 1.024 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001783/1.023, allocations: 234.4 kB / 1.024 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.547e-05/1.023, allocations: 150.6 kB / 1.024 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.104e-05/1.023, allocations: 158.5 kB / 1.024 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.996e-05/1.023, allocations: 157.8 kB / 1.024 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.852e-05/1.023, allocations: 105 kB / 1.024 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.921e-05/1.023, allocations: 75.28 kB / 1.025 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.843e-05/1.023, allocations: 150.6 kB / 1.025 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001018/1.023, allocations: 154.6 kB / 1.025 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000268/1.023, allocations: 433.9 kB / 1.025 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 6.521e-05/1.023, allocations: 173.1 kB / 1.025 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.958e-05/1.023, allocations: 80.14 kB / 1.025 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/1.023, allocations: 78.66 kB / 1.026 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.23e-05/1.024, allocations: 109.8 kB / 1.026 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=0): time 1.123e-06/1.024, allocations: 0 / 1.026 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of matching and sorting (n=0): time 7.576e-05/1.024, allocations: 33.64 kB / 1.026 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.49e-05/1.024, allocations: 55.41 kB / 1.026 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.772e-05/1.024, allocations: 100 kB / 1.026 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/1.024, allocations: 25.7 kB / 1.026 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 3.568e-05/1.024, allocations: 84.14 kB / 1.026 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 1.804e-06/1.024, allocations: 0 / 1.026 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.345e-06/1.024, allocations: 0 / 1.026 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.973e-05/1.024, allocations: 314.3 kB / 1.026 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.396e-06/1.024, allocations: 0 / 1.026 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.219e-05/1.024, allocations: 26.58 kB / 1.026 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001639/1.024, allocations: 23.28 kB / 1.026 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/1.024, allocations: 7.844 kB / 1.026 GB, free: 10.63 MB / 0.6511 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001889/1.024, allocations: 60.78 kB / 1.026 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/1.024, allocations: 8 kB / 1.026 GB, free: 10.56 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/1.024, allocations: 0 / 1.026 GB, free: 10.56 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/1.024, allocations: 4.094 kB / 1.026 GB, free: 10.56 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.571e-05/1.024, allocations: 4 kB / 1.026 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/1.024, allocations: 4 kB / 1.026 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.603e-05/1.025, allocations: 0 / 1.026 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/1.025, allocations: 11.84 kB / 1.026 GB, free: 10.54 MB / 0.6511 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 8.454e-05/1.025, allocations: 184.2 kB / 1.027 GB, free: 10.35 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.281e-05/1.025, allocations: 105 kB / 1.027 GB, free: 10.24 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.525e-05/1.025, allocations: 108.1 kB / 1.027 GB, free: 10.13 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-05/1.025, allocations: 183.5 kB / 1.027 GB, free: 9.949 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.855e-05/1.025, allocations: 176.3 kB / 1.027 GB, free: 9.77 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.268e-05/1.025, allocations: 188.2 kB / 1.027 GB, free: 9.578 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001685/1.025, allocations: 381.2 kB / 1.028 GB, free: 9.164 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.586e-05/1.025, allocations: 101 kB / 1.028 GB, free: 9.059 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.117e-05/1.025, allocations: 113 kB / 1.028 GB, free: 8.941 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.601e-05/1.025, allocations: 180.2 kB / 1.028 GB, free: 8.758 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.213e-05/1.025, allocations: 177.6 kB / 1.028 GB, free: 8.578 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.761e-05/1.025, allocations: 180.3 kB / 1.028 GB, free: 8.395 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.622e-05/1.025, allocations: 184.2 kB / 1.029 GB, free: 8.207 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001458/1.026, allocations: 306.6 kB / 1.029 GB, free: 7.887 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002206/1.026, allocations: 0.6817 MB / 1.029 GB, free: 7.188 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.583e-05/1.026, allocations: 182.6 kB / 1.03 GB, free: 6.984 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.964e-05/1.026, allocations: 184.2 kB / 1.03 GB, free: 6.797 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.551e-05/1.026, allocations: 109 kB / 1.03 GB, free: 6.684 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.675e-05/1.026, allocations: 180.3 kB / 1.03 GB, free: 6.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.696e-05/1.026, allocations: 112.1 kB / 1.03 GB, free: 6.387 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.33e-05/1.026, allocations: 79.28 kB / 1.03 GB, free: 6.309 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001107/1.027, allocations: 126 kB / 1.03 GB, free: 6.207 MB / 0.6511 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.0007693/1.028, allocations: 486.1 kB / 1.031 GB, free: 5.762 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 6.522e-05/1.028, allocations: 15.88 kB / 1.031 GB, free: 5.746 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/1.028, allocations: 192 / 1.031 GB, free: 5.746 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.143e-06/1.028, allocations: 4 kB / 1.031 GB, free: 5.742 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002554/1.028, allocations: 0.5194 MB / 1.031 GB, free: 5.223 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000158/1.029, allocations: 131.1 kB / 1.032 GB, free: 5.07 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002618/1.029, allocations: 0.6841 MB / 1.032 GB, free: 4.359 MB / 0.6511 GB Notification: Performance of SimCode: time 2.5e-07/1.029, allocations: 3.938 kB / 1.032 GB, free: 4.355 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1)