Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart",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 10.0.0-master/package.mo): time 1.787/1.787, allocations: 390.4 MB / 397.7 MB, free: 1.969 MB / 307 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 173.3 kB / 490.8 MB, free: 7.512 MB / 403 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.137/1.137, allocations: 221.3 MB / 0.7863 GB, free: 328 kB / 0.5498 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008336/0.0008338, allocations: 99.11 kB / 0.9264 GB, free: 0.7031 MB / 0.6904 GB Notification: Performance of FrontEnd - loaded program: time 0.3656/0.3664, allocations: 149.1 MB / 1.072 GB, free: 137.5 MB / 0.7217 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1801/0.5466, allocations: 143 MB / 1.212 GB, free: 10.52 MB / 0.7373 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4886/1.035, allocations: 149.6 MB / 1.358 GB, free: 12.45 MB / 0.8311 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001976/1.035, allocations: 83.94 kB / 1.358 GB, free: 12.36 MB / 0.8311 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.01153/1.047, allocations: 4.851 MB / 1.363 GB, free: 7.484 MB / 0.8311 GB Notification: Performance of prepare preOptimizeDAE: time 3.024e-05/1.047, allocations: 8 kB / 1.363 GB, free: 7.477 MB / 0.8311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.239e-05/1.047, allocations: 83.12 kB / 1.363 GB, free: 7.395 MB / 0.8311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/1.047, allocations: 242.3 kB / 1.363 GB, free: 7.117 MB / 0.8311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.581e-05/1.047, allocations: 150.6 kB / 1.363 GB, free: 6.969 MB / 0.8311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.485e-05/1.047, allocations: 150.6 kB / 1.363 GB, free: 6.82 MB / 0.8311 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.501e-05/1.047, allocations: 150.6 kB / 1.363 GB, free: 6.672 MB / 0.8311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.647e-05/1.047, allocations: 105 kB / 1.363 GB, free: 6.562 MB / 0.8311 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/1.047, allocations: 79.28 kB / 1.363 GB, free: 6.484 MB / 0.8311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.055e-05/1.047, allocations: 154.6 kB / 1.364 GB, free: 6.332 MB / 0.8311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.78e-05/1.047, allocations: 154.5 kB / 1.364 GB, free: 6.18 MB / 0.8311 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002082/1.048, allocations: 438.5 kB / 1.364 GB, free: 5.715 MB / 0.8311 GB Notification: Performance of preOpt comSubExp (simulation): time 5.49e-05/1.048, allocations: 169.1 kB / 1.364 GB, free: 5.539 MB / 0.8311 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.752e-05/1.048, allocations: 80.14 kB / 1.364 GB, free: 5.457 MB / 0.8311 GB Notification: Performance of preOpt evalFunc (simulation): time 2.346e-05/1.048, allocations: 75.28 kB / 1.364 GB, free: 5.383 MB / 0.8311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/1.048, allocations: 109.8 kB / 1.365 GB, free: 5.266 MB / 0.8311 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/1.048, allocations: 4 kB / 1.365 GB, free: 5.262 MB / 0.8311 GB Notification: Performance of matching and sorting (n=0): time 7.561e-05/1.048, allocations: 29.7 kB / 1.365 GB, free: 5.227 MB / 0.8311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.027e-05/1.048, allocations: 59.25 kB / 1.365 GB, free: 5.156 MB / 0.8311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.341e-05/1.048, allocations: 93 kB / 1.365 GB, free: 5.059 MB / 0.8311 GB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/1.048, allocations: 29.7 kB / 1.365 GB, free: 5.023 MB / 0.8311 GB Notification: Performance of collectInitialEqns (initialization): time 3.008e-05/1.048, allocations: 80.14 kB / 1.365 GB, free: 4.941 MB / 0.8311 GB Notification: Performance of collectInitialBindings (initialization): time 1.102e-06/1.048, allocations: 0 / 1.365 GB, free: 4.941 MB / 0.8311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.843e-06/1.048, allocations: 0 / 1.365 GB, free: 4.941 MB / 0.8311 GB Notification: Performance of setup shared object (initialization): time 7.641e-05/1.048, allocations: 318.8 kB / 1.365 GB, free: 4.621 MB / 0.8311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.169e-05/1.048, allocations: 8 kB / 1.365 GB, free: 4.613 MB / 0.8311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.909e-05/1.048, allocations: 11.94 kB / 1.365 GB, free: 4.602 MB / 0.8311 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.953e-05/1.048, allocations: 7.984 kB / 1.365 GB, free: 4.594 MB / 0.8311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/1.048, allocations: 0 / 1.365 GB, free: 4.594 MB / 0.8311 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.918e-05/1.048, allocations: 33.7 kB / 1.365 GB, free: 4.555 MB / 0.8311 GB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/1.048, allocations: 8 kB / 1.365 GB, free: 4.547 MB / 0.8311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/1.048, allocations: 0 / 1.365 GB, free: 4.547 MB / 0.8311 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.588e-06/1.048, allocations: 3.906 kB / 1.365 GB, free: 4.543 MB / 0.8311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.51e-07/1.048, allocations: 256 / 1.365 GB, free: 4.543 MB / 0.8311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.876e-06/1.048, allocations: 4.125 kB / 1.365 GB, free: 4.539 MB / 0.8311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.712e-05/1.048, allocations: 7.984 kB / 1.365 GB, free: 4.531 MB / 0.8311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/1.048, allocations: 8 kB / 1.365 GB, free: 4.523 MB / 0.8311 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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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 6.937e-05/1.049, allocations: 180.2 kB / 1.365 GB, free: 4.34 MB / 0.8311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.788e-05/1.049, allocations: 108.8 kB / 1.366 GB, free: 4.227 MB / 0.8311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.835e-05/1.049, allocations: 112.2 kB / 1.366 GB, free: 4.113 MB / 0.8311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.491e-05/1.049, allocations: 188.2 kB / 1.366 GB, free: 3.922 MB / 0.8311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.433e-05/1.049, allocations: 176.3 kB / 1.366 GB, free: 3.742 MB / 0.8311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-05/1.049, allocations: 176.3 kB / 1.366 GB, free: 3.562 MB / 0.8311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001513/1.049, allocations: 389.7 kB / 1.367 GB, free: 3.137 MB / 0.8311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.708e-05/1.049, allocations: 101 kB / 1.367 GB, free: 3.031 MB / 0.8311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.405e-05/1.049, allocations: 105 kB / 1.367 GB, free: 2.922 MB / 0.8311 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.641e-05/1.049, allocations: 184.2 kB / 1.367 GB, free: 2.734 MB / 0.8311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.44e-05/1.049, allocations: 177.6 kB / 1.367 GB, free: 2.555 MB / 0.8311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.311e-05/1.049, allocations: 184.2 kB / 1.367 GB, free: 2.367 MB / 0.8311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.622e-05/1.049, allocations: 184.2 kB / 1.367 GB, free: 2.18 MB / 0.8311 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.435e-05/1.049, allocations: 299.8 kB / 1.368 GB, free: 1.863 MB / 0.8311 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001799/1.05, allocations: 0.6798 MB / 1.368 GB, free: 1.156 MB / 0.8311 GB Notification: Performance of postOpt removeConstants (simulation): time 6.271e-05/1.05, allocations: 182.1 kB / 1.369 GB, free: 0.9531 MB / 0.8311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.487e-05/1.05, allocations: 184.4 kB / 1.369 GB, free: 0.7656 MB / 0.8311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.672e-05/1.05, allocations: 113 kB / 1.369 GB, free: 0.6484 MB / 0.8311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.362e-05/1.05, allocations: 184.3 kB / 1.369 GB, free: 472 kB / 0.8311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.732e-05/1.05, allocations: 104.9 kB / 1.369 GB, free: 360 kB / 0.8311 GB Notification: Performance of sort global known variables: time 3.136e-05/1.05, allocations: 83.28 kB / 1.369 GB, free: 276 kB / 0.8311 GB Notification: Performance of remove unused functions: time 0.0007375/1.051, allocations: 4 kB / 1.369 GB, free: 272 kB / 0.8311 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.0001867/1.051, allocations: 188.1 kB / 1.369 GB, free: 76 kB / 0.8311 GB Notification: Performance of simCode: created initialization part: time 7.032e-05/1.051, allocations: 4 kB / 1.369 GB, free: 72 kB / 0.8311 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/1.051, allocations: 0 / 1.369 GB, free: 72 kB / 0.8311 GB Notification: Performance of simCode: created simulation system equations: time 1.563e-06/1.051, allocations: 0 / 1.369 GB, free: 72 kB / 0.8311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002324/1.051, allocations: 0.5238 MB / 1.37 GB, free: 15.54 MB / 0.8467 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001496/1.051, allocations: 135.2 kB / 1.37 GB, free: 15.39 MB / 0.8467 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001953/1.051, allocations: 0.6872 MB / 1.371 GB, free: 14.68 MB / 0.8467 GB Notification: Performance of SimCode: time 2.5e-07/1.051, allocations: 4 kB / 1.371 GB, free: 14.67 MB / 0.8467 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe 2>&1)