Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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.GetTimeSpanTMY3,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",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.273/1.273, allocations: 249.4 MB / 256.7 MB, free: 7.094 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.00096/0.00096, allocations: 193.2 kB / 316 MB, free: 3.395 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.115/1.115, allocations: 205.2 MB / 0.5667 GB, free: 15.55 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.0008214/0.0008215, allocations: 87.33 kB / 0.671 GB, free: 4.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3263/0.3271, allocations: 112.5 MB / 0.7808 GB, free: 102.9 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.173/0.5001, allocations: 106.3 MB / 0.8847 GB, free: 12.41 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4807/0.9808, allocations: 132.1 MB / 1.014 GB, free: 6.242 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002247/0.9811, allocations: 84.53 kB / 1.014 GB, free: 6.195 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.009462/0.9906, allocations: 3.599 MB / 1.017 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.9906, allocations: 12 kB / 1.017 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.64e-05/0.9907, allocations: 75.28 kB / 1.017 GB, free: 3.281 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.9909, allocations: 242.2 kB / 1.018 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.713e-05/0.9909, allocations: 166.2 kB / 1.018 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.107e-05/0.991, allocations: 150.6 kB / 1.018 GB, free: 2.695 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.327e-05/0.991, allocations: 150.6 kB / 1.018 GB, free: 2.547 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.781e-05/0.9911, allocations: 104.9 kB / 1.018 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.667e-05/0.9911, allocations: 75.28 kB / 1.018 GB, free: 2.363 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.017e-05/0.9912, allocations: 154.6 kB / 1.018 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-05/0.9913, allocations: 150.6 kB / 1.018 GB, free: 2.062 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003003/0.9916, allocations: 429.9 kB / 1.019 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.306e-05/0.9916, allocations: 173 kB / 1.019 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.046e-05/0.9917, allocations: 85.34 kB / 1.019 GB, free: 1.344 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.506e-05/0.9917, allocations: 78.66 kB / 1.019 GB, free: 1.27 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.238e-05/0.9918, allocations: 113.8 kB / 1.019 GB, free: 1.148 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.9918, allocations: 0 / 1.019 GB, free: 1.148 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 6.624e-05/0.9918, allocations: 25.7 kB / 1.019 GB, free: 1.117 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.745e-05/0.9919, allocations: 55.41 kB / 1.019 GB, free: 1.051 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.549e-05/0.992, allocations: 92.31 kB / 1.019 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.992, allocations: 29.7 kB / 1.019 GB, free: 0.9219 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.438e-05/0.992, allocations: 84.14 kB / 1.02 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.423e-06/0.992, allocations: 0 / 1.02 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.014e-06/0.992, allocations: 0 / 1.02 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.9922, allocations: 321.9 kB / 1.02 GB, free: 0.5156 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.454e-05/0.9922, allocations: 4 kB / 1.02 GB, free: 0.5117 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.08e-05/0.9922, allocations: 4 kB / 1.02 GB, free: 0.5078 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.239e-05/0.9922, allocations: 7.984 kB / 1.02 GB, free: 0.5 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.9922, allocations: 4.094 kB / 1.02 GB, free: 0.4961 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.772e-05/0.9923, allocations: 45.52 kB / 1.02 GB, free: 460 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.9924, allocations: 7.938 kB / 1.02 GB, free: 452 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.9924, allocations: 0 / 1.02 GB, free: 452 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.9924, allocations: 0 / 1.02 GB, free: 452 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.052e-06/0.9924, allocations: 4 kB / 1.02 GB, free: 448 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.9924, allocations: 0 / 1.02 GB, free: 448 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.127e-05/0.9925, allocations: 7.922 kB / 1.02 GB, free: 440 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.9925, allocations: 3.906 kB / 1.02 GB, free: 436 kB / 0.6355 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 8.445e-05/0.9926, allocations: 184.3 kB / 1.02 GB, free: 244 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.45e-05/0.9926, allocations: 101 kB / 1.02 GB, free: 136 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.461e-05/0.9927, allocations: 108.4 kB / 1.02 GB, free: 20 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-05/0.9927, allocations: 188.2 kB / 1.021 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.927e-05/0.9928, allocations: 176.3 kB / 1.021 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.424e-05/0.9929, allocations: 184.1 kB / 1.021 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001863/0.9931, allocations: 389.7 kB / 1.021 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.957e-05/0.9931, allocations: 101 kB / 1.021 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.678e-05/0.9931, allocations: 108.9 kB / 1.021 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.023e-05/0.9932, allocations: 180.3 kB / 1.022 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.133e-05/0.9932, allocations: 176.3 kB / 1.022 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.707e-05/0.9933, allocations: 189.5 kB / 1.022 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.385e-05/0.9934, allocations: 180.3 kB / 1.022 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001094/0.9935, allocations: 303.7 kB / 1.022 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002118/0.9937, allocations: 0.6786 MB / 1.023 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.307e-05/0.9938, allocations: 186 kB / 1.023 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.549e-05/0.9938, allocations: 176.5 kB / 1.023 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.016e-05/0.9939, allocations: 105 kB / 1.024 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.173e-05/0.994, allocations: 184.2 kB / 1.024 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.149e-05/0.994, allocations: 113 kB / 1.024 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.335e-05/0.9941, allocations: 83.16 kB / 1.024 GB, free: 12.19 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007863/0.9949, allocations: 11.91 kB / 1.024 GB, free: 12.18 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.0001926/0.995, allocations: 178.5 kB / 1.024 GB, free: 11.99 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 8.545e-05/0.9951, allocations: 8 kB / 1.024 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.9952, allocations: 0 / 1.024 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.216e-06/0.9952, allocations: 3.938 kB / 1.024 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002586/0.9954, allocations: 0.5222 MB / 1.025 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000161/0.9956, allocations: 127.2 kB / 1.025 GB, free: 11.31 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002329/0.9958, allocations: 0.6841 MB / 1.025 GB, free: 10.6 MB / 0.6511 GB Notification: Performance of SimCode: time 2.8e-07/0.9958, allocations: 0 / 1.025 GB, free: 10.6 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1)