Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.142/2.142, allocations: 284.8 MB / 292.1 MB, free: 10.72 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.001597/0.001597, allocations: 181.3 kB / 360.3 MB, free: 7.5 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.644/1.644, allocations: 205.1 MB / 0.6187 GB, free: 12.43 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.001238/0.001238, allocations: 98.78 kB / 0.7317 GB, free: 44.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2433/0.2445, allocations: 121.4 MB / 0.8502 GB, free: 3.789 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5619/0.8064, allocations: 115.2 MB / 0.9628 GB, free: 78.52 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2086/1.015, allocations: 139.6 MB / 1.099 GB, free: 1.16 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003158/1.015, allocations: 88.7 kB / 1.099 GB, free: 1.074 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.03583/1.051, allocations: 7.578 MB / 1.107 GB, free: 9.551 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/1.051, allocations: 11.03 kB / 1.107 GB, free: 9.543 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.17e-05/1.051, allocations: 83.19 kB / 1.107 GB, free: 9.461 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002256/1.052, allocations: 242.3 kB / 1.107 GB, free: 9.184 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.872e-05/1.052, allocations: 152.5 kB / 1.107 GB, free: 9.035 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.938e-05/1.052, allocations: 154.6 kB / 1.107 GB, free: 8.883 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.27e-05/1.052, allocations: 156.3 kB / 1.107 GB, free: 8.73 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.652e-05/1.052, allocations: 101.5 kB / 1.107 GB, free: 8.625 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.852e-05/1.052, allocations: 76.66 kB / 1.108 GB, free: 8.551 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.532e-05/1.052, allocations: 154.6 kB / 1.108 GB, free: 8.398 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.747e-05/1.052, allocations: 151.1 kB / 1.108 GB, free: 8.25 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000355/1.053, allocations: 440.3 kB / 1.108 GB, free: 7.785 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.989e-05/1.053, allocations: 165.7 kB / 1.108 GB, free: 7.613 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.445e-05/1.053, allocations: 80.73 kB / 1.108 GB, free: 7.531 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.621e-05/1.053, allocations: 79.86 kB / 1.109 GB, free: 7.453 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.472e-05/1.053, allocations: 107.1 kB / 1.109 GB, free: 7.34 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 1.412e-06/1.053, allocations: 0.75 kB / 1.109 GB, free: 7.34 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 9.222e-05/1.053, allocations: 29.7 kB / 1.109 GB, free: 7.305 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/1.053, allocations: 55.97 kB / 1.109 GB, free: 7.238 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/1.053, allocations: 104.3 kB / 1.109 GB, free: 7.133 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/1.053, allocations: 29.7 kB / 1.109 GB, free: 7.098 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.368e-05/1.053, allocations: 84.14 kB / 1.109 GB, free: 7.012 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.503e-06/1.053, allocations: 0 / 1.109 GB, free: 7.012 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.46e-06/1.053, allocations: 0 / 1.109 GB, free: 7.012 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001378/1.053, allocations: 319.3 kB / 1.109 GB, free: 6.691 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.55e-05/1.054, allocations: 4.5 kB / 1.109 GB, free: 6.688 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.936e-05/1.054, allocations: 28.16 kB / 1.109 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002431/1.054, allocations: 20.53 kB / 1.109 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/1.054, allocations: 4.656 kB / 1.109 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002735/1.054, allocations: 61.61 kB / 1.109 GB, free: 6.562 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/1.054, allocations: 4 kB / 1.109 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/1.054, allocations: 0 / 1.109 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/1.054, allocations: 3.906 kB / 1.109 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.319e-05/1.054, allocations: 7.984 kB / 1.109 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.84e-06/1.054, allocations: 4 kB / 1.109 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001577/1.054, allocations: 1.406 kB / 1.109 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.738e-05/1.054, allocations: 4.094 kB / 1.109 GB, free: 6.539 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 0.0001207/1.055, allocations: 192.8 kB / 1.11 GB, free: 6.344 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.927e-05/1.055, allocations: 108.9 kB / 1.11 GB, free: 6.23 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.754e-05/1.055, allocations: 104.1 kB / 1.11 GB, free: 6.121 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-05/1.055, allocations: 177.4 kB / 1.11 GB, free: 5.941 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.063e-05/1.055, allocations: 184.2 kB / 1.11 GB, free: 5.754 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-05/1.055, allocations: 184.3 kB / 1.11 GB, free: 5.566 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000254/1.055, allocations: 377.8 kB / 1.111 GB, free: 5.152 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.495e-05/1.055, allocations: 108.9 kB / 1.111 GB, free: 5.039 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.494e-05/1.055, allocations: 101 kB / 1.111 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.232e-05/1.055, allocations: 180.2 kB / 1.111 GB, free: 4.75 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.507e-05/1.056, allocations: 189.4 kB / 1.111 GB, free: 4.559 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.628e-05/1.056, allocations: 192.1 kB / 1.111 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.87e-05/1.056, allocations: 180.2 kB / 1.112 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001513/1.056, allocations: 301.9 kB / 1.112 GB, free: 3.867 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003184/1.056, allocations: 0.6798 MB / 1.113 GB, free: 3.16 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.783e-05/1.056, allocations: 182.3 kB / 1.113 GB, free: 2.957 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001157/1.056, allocations: 184.1 kB / 1.113 GB, free: 2.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/1.057, allocations: 109 kB / 1.113 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001141/1.057, allocations: 180.3 kB / 1.113 GB, free: 2.473 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.655e-05/1.057, allocations: 101 kB / 1.113 GB, free: 2.367 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-05/1.057, allocations: 92.2 kB / 1.113 GB, free: 2.277 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00148/1.058, allocations: 127.9 kB / 1.113 GB, free: 2.152 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.001157/1.06, allocations: 482.2 kB / 1.114 GB, free: 1.758 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.207e-05/1.06, allocations: 15.94 kB / 1.114 GB, free: 1.742 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/1.06, allocations: 0 / 1.114 GB, free: 1.742 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.874e-06/1.06, allocations: 0 / 1.114 GB, free: 1.742 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003634/1.06, allocations: 0.5193 MB / 1.114 GB, free: 1.219 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002134/1.06, allocations: 128 kB / 1.115 GB, free: 1.07 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003284/1.061, allocations: 0.6879 MB / 1.115 GB, free: 364 kB / 0.7136 GB Notification: Performance of SimCode: time 6.31e-07/1.061, allocations: 0 / 1.115 GB, free: 364 kB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.fmu > Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1)