Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 1.827/1.827, allocations: 387.2 MB / 394.5 MB, free: 13.63 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009241/0.0009241, allocations: 177.3 kB / 487 MB, free: 5.352 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.257/1.257, allocations: 221.3 MB / 0.7819 GB, free: 1.379 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008271/0.000827, allocations: 90.06 kB / 0.9213 GB, free: 2.621 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4506/0.4514, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2067/0.6581, allocations: 142.3 MB / 1.205 GB, free: 26.09 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5719/1.23, allocations: 148.4 MB / 1.35 GB, free: 16.27 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002474/1.23, allocations: 86.94 kB / 1.35 GB, free: 16.27 MB / 0.8073 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.008187/1.239, allocations: 3.057 MB / 1.353 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/1.239, allocations: 8.906 kB / 1.353 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.705e-05/1.239, allocations: 78.41 kB / 1.353 GB, free: 15.72 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/1.239, allocations: 242.5 kB / 1.354 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/1.239, allocations: 151.6 kB / 1.354 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.177e-05/1.239, allocations: 156.5 kB / 1.354 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.018e-05/1.239, allocations: 155.7 kB / 1.354 GB, free: 15 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.546e-05/1.239, allocations: 102.6 kB / 1.354 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/1.239, allocations: 80.06 kB / 1.354 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.472e-05/1.239, allocations: 155.3 kB / 1.354 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.745e-05/1.239, allocations: 150.6 kB / 1.354 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001801/1.239, allocations: 431.4 kB / 1.355 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.772e-05/1.239, allocations: 170.3 kB / 1.355 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.064e-05/1.239, allocations: 81.08 kB / 1.355 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.272e-05/1.239, allocations: 79.22 kB / 1.355 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/1.239, allocations: 115.9 kB / 1.355 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 1.683e-06/1.239, allocations: 0 / 1.355 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 6.858e-05/1.239, allocations: 31.91 kB / 1.355 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.771e-05/1.239, allocations: 52.56 kB / 1.355 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.109e-05/1.24, allocations: 96.02 kB / 1.355 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.125e-06/1.24, allocations: 25.7 kB / 1.356 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.716e-05/1.24, allocations: 81.17 kB / 1.356 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.573e-06/1.24, allocations: 4 kB / 1.356 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.21e-07/1.24, allocations: 0 / 1.356 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.213e-05/1.24, allocations: 313 kB / 1.356 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.905e-06/1.24, allocations: 3.938 kB / 1.356 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.245e-05/1.24, allocations: 1.5 kB / 1.356 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.265e-05/1.24, allocations: 81.12 kB / 1.356 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.41e-05/1.24, allocations: 75.94 kB / 1.356 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.488e-05/1.24, allocations: 32.48 kB / 1.356 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/1.24, allocations: 5.172 kB / 1.356 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.761e-05/1.24, allocations: 81.05 kB / 1.356 GB, free: 12.72 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.132e-05/1.24, allocations: 155.3 kB / 1.356 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.43e-05/1.24, allocations: 77.09 kB / 1.356 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.783e-05/1.24, allocations: 159.7 kB / 1.357 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.881e-05/1.24, allocations: 80.64 kB / 1.357 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.334e-05/1.24, allocations: 80.77 kB / 1.357 GB, free: 12.19 MB / 0.8073 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 5.517e-05/1.24, allocations: 258.3 kB / 1.357 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.66e-05/1.24, allocations: 106.8 kB / 1.357 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.35e-05/1.24, allocations: 114.8 kB / 1.357 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.517e-05/1.24, allocations: 177.8 kB / 1.357 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.751e-05/1.24, allocations: 178.4 kB / 1.357 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.732e-05/1.24, allocations: 189.8 kB / 1.358 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001221/1.24, allocations: 379 kB / 1.358 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-05/1.24, allocations: 101.8 kB / 1.358 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.928e-05/1.24, allocations: 106.4 kB / 1.358 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.102e-05/1.24, allocations: 177.7 kB / 1.358 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.061e-05/1.241, allocations: 185.6 kB / 1.359 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.986e-05/1.241, allocations: 190 kB / 1.359 GB, free: 9.98 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.89e-05/1.241, allocations: 178 kB / 1.359 GB, free: 9.801 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002126/1.241, allocations: 305.1 kB / 1.359 GB, free: 25.48 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002211/1.241, allocations: 0.6783 MB / 1.36 GB, free: 24.79 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.566e-05/1.241, allocations: 184.7 kB / 1.36 GB, free: 24.59 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.738e-05/1.241, allocations: 178.6 kB / 1.36 GB, free: 24.41 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.921e-05/1.241, allocations: 103.4 kB / 1.36 GB, free: 24.3 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.077e-05/1.241, allocations: 189.7 kB / 1.361 GB, free: 24.11 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.732e-05/1.241, allocations: 106.6 kB / 1.361 GB, free: 24 MB / 0.823 GB Notification: Performance of sort global known variables: time 3.689e-05/1.241, allocations: 79.39 kB / 1.361 GB, free: 23.93 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0008408/1.242, allocations: 4.109 kB / 1.361 GB, free: 23.93 MB / 0.823 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.0002602/1.243, allocations: 182 kB / 1.361 GB, free: 23.77 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 3.486e-05/1.243, allocations: 1.344 kB / 1.361 GB, free: 23.77 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/1.243, allocations: 4 kB / 1.361 GB, free: 23.77 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/1.243, allocations: 0.7812 kB / 1.361 GB, free: 23.77 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002655/1.243, allocations: 0.5255 MB / 1.361 GB, free: 23.24 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002255/1.243, allocations: 122.4 kB / 1.362 GB, free: 23.11 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002238/1.243, allocations: 0.6851 MB / 1.362 GB, free: 22.4 MB / 0.823 GB Notification: Performance of SimCode: time 2.2e-07/1.243, allocations: 4.906 kB / 1.362 GB, free: 22.4 MB / 0.823 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1)