Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.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.GetTimeSpanTMY3LongHeader,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",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.411/1.411, allocations: 289.8 MB / 297.1 MB, free: 6.621 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.0009293/0.0009293, allocations: 168.1 kB / 366.3 MB, free: 1.957 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.091/1.091, allocations: 205.1 MB / 0.6256 GB, free: 5.801 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.0008952/0.0008952, allocations: 82.48 kB / 0.7395 GB, free: 39.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2172/0.2182, allocations: 122.4 MB / 0.8591 GB, free: 13.24 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4666/0.6848, allocations: 116.3 MB / 0.9727 GB, free: 68.11 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1493/0.8341, allocations: 138 MB / 1.107 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002082/0.8343, allocations: 80.64 kB / 1.108 GB, free: 10.29 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.007518/0.8419, allocations: 3.038 MB / 1.111 GB, free: 7.234 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.8419, allocations: 9.312 kB / 1.111 GB, free: 7.227 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.769e-05/0.842, allocations: 79.28 kB / 1.111 GB, free: 7.148 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001561/0.8421, allocations: 254.2 kB / 1.111 GB, free: 6.859 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.599e-05/0.8422, allocations: 152.4 kB / 1.111 GB, free: 6.711 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.159e-05/0.8423, allocations: 151.1 kB / 1.111 GB, free: 6.562 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.832e-05/0.8423, allocations: 152.4 kB / 1.111 GB, free: 6.414 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.699e-05/0.8424, allocations: 108.9 kB / 1.111 GB, free: 6.301 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/0.8424, allocations: 75.28 kB / 1.111 GB, free: 6.227 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.394e-05/0.8425, allocations: 155.7 kB / 1.112 GB, free: 6.074 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.575e-05/0.8425, allocations: 154.6 kB / 1.112 GB, free: 5.922 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002864/0.8428, allocations: 426.4 kB / 1.112 GB, free: 5.469 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.315e-05/0.8429, allocations: 165.1 kB / 1.112 GB, free: 5.297 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.881e-05/0.8429, allocations: 84.8 kB / 1.112 GB, free: 5.211 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.553e-05/0.8429, allocations: 83.22 kB / 1.112 GB, free: 5.129 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.679e-05/0.843, allocations: 109.8 kB / 1.113 GB, free: 5.012 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.843, allocations: 0 / 1.113 GB, free: 5.012 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 6.437e-05/0.8431, allocations: 26.91 kB / 1.113 GB, free: 4.98 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.474e-05/0.8431, allocations: 55.41 kB / 1.113 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.968e-05/0.8432, allocations: 93 kB / 1.113 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.032e-05/0.8432, allocations: 27.02 kB / 1.113 GB, free: 4.785 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.776e-05/0.8432, allocations: 84.14 kB / 1.113 GB, free: 4.699 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.302e-06/0.8432, allocations: 0 / 1.113 GB, free: 4.699 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.71e-07/0.8432, allocations: 0 / 1.113 GB, free: 4.699 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.813e-05/0.8433, allocations: 314.8 kB / 1.113 GB, free: 4.383 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.931e-06/0.8433, allocations: 4 kB / 1.113 GB, free: 4.379 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.053e-05/0.8433, allocations: 7.938 kB / 1.113 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.736e-05/0.8434, allocations: 75.28 kB / 1.113 GB, free: 4.297 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.032e-05/0.8434, allocations: 79.22 kB / 1.113 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.326e-05/0.8435, allocations: 33.61 kB / 1.113 GB, free: 4.18 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/0.8435, allocations: 8.031 kB / 1.113 GB, free: 4.172 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.47e-05/0.8435, allocations: 75.28 kB / 1.113 GB, free: 4.098 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.652e-05/0.8436, allocations: 150.6 kB / 1.114 GB, free: 3.949 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.494e-05/0.8436, allocations: 83.22 kB / 1.114 GB, free: 3.867 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.342e-05/0.8436, allocations: 159.5 kB / 1.114 GB, free: 3.711 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.278e-05/0.8437, allocations: 75.28 kB / 1.114 GB, free: 3.637 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.228e-05/0.8438, allocations: 83.22 kB / 1.114 GB, free: 3.555 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.17e-05/0.8439, allocations: 255.5 kB / 1.114 GB, free: 3.297 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.568e-05/0.8439, allocations: 104.9 kB / 1.114 GB, free: 3.188 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.442e-05/0.844, allocations: 109.5 kB / 1.114 GB, free: 3.07 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.925e-05/0.844, allocations: 188.2 kB / 1.115 GB, free: 2.879 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-05/0.8441, allocations: 180.3 kB / 1.115 GB, free: 2.695 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.672e-05/0.8441, allocations: 176.3 kB / 1.115 GB, free: 2.516 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001576/0.8443, allocations: 385.7 kB / 1.115 GB, free: 2.094 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.532e-05/0.8443, allocations: 101.9 kB / 1.115 GB, free: 1.988 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.001e-05/0.8444, allocations: 105 kB / 1.115 GB, free: 1.879 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.625e-05/0.8444, allocations: 184.1 kB / 1.116 GB, free: 1.691 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.481e-05/0.8445, allocations: 180.3 kB / 1.116 GB, free: 1.508 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.537e-05/0.8445, allocations: 184.5 kB / 1.116 GB, free: 1.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.661e-05/0.8446, allocations: 180.2 kB / 1.116 GB, free: 1.137 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.649e-05/0.8447, allocations: 307.8 kB / 1.116 GB, free: 0.8125 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002004/0.8449, allocations: 0.6759 MB / 1.117 GB, free: 112 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.691e-05/0.845, allocations: 182 kB / 1.117 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.616e-05/0.845, allocations: 184.2 kB / 1.117 GB, free: 15.72 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.647e-05/0.8451, allocations: 105.8 kB / 1.118 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.448e-05/0.8452, allocations: 188.3 kB / 1.118 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-05/0.8452, allocations: 105 kB / 1.118 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.679e-05/0.8453, allocations: 83.27 kB / 1.118 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0007786/0.846, allocations: 8 kB / 1.118 GB, free: 15.22 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.0002391/0.8463, allocations: 180.9 kB / 1.118 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 4.031e-05/0.8463, allocations: 8 kB / 1.118 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.8463, allocations: 0 / 1.118 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.12e-07/0.8464, allocations: 3.938 kB / 1.118 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002947/0.8467, allocations: 0.5252 MB / 1.119 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002361/0.8469, allocations: 119.3 kB / 1.119 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002587/0.8472, allocations: 0.6919 MB / 1.119 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of SimCode: time 2.31e-07/0.8472, allocations: 0 / 1.119 GB, free: 13.63 MB / 0.7292 GB (rm -f Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.fmu > Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1)