Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.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.GetAltitudeTMY3,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",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.814/1.814, allocations: 390.4 MB / 397.7 MB, free: 11.27 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.0009524/0.0009524, allocations: 181.2 kB / 490.8 MB, free: 1.934 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.136/1.136, allocations: 221.3 MB / 0.7863 GB, free: 13.7 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008433/0.0008433, allocations: 92.62 kB / 0.9264 GB, free: 14.25 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4349/0.4357, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1823/0.618, allocations: 143 MB / 1.212 GB, free: 40.05 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5792/1.197, allocations: 150.2 MB / 1.358 GB, free: 17.23 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002334/1.198, allocations: 84.08 kB / 1.358 GB, free: 17.22 MB / 0.823 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.01117/1.209, allocations: 4.044 MB / 1.362 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/1.209, allocations: 8.656 kB / 1.362 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.569e-05/1.209, allocations: 84.19 kB / 1.362 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/1.209, allocations: 237.3 kB / 1.363 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.836e-05/1.209, allocations: 154.5 kB / 1.363 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.801e-05/1.209, allocations: 155.7 kB / 1.363 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.979e-05/1.209, allocations: 150.6 kB / 1.363 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.49e-05/1.209, allocations: 107.3 kB / 1.363 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.209e-05/1.209, allocations: 79.28 kB / 1.363 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.361e-05/1.209, allocations: 151.8 kB / 1.363 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-05/1.209, allocations: 150.6 kB / 1.364 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000244/1.21, allocations: 422.2 kB / 1.364 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.196e-05/1.21, allocations: 182 kB / 1.364 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.597e-05/1.21, allocations: 80.14 kB / 1.364 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.745e-05/1.21, allocations: 79.22 kB / 1.364 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.735e-05/1.21, allocations: 112.6 kB / 1.364 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.182e-06/1.21, allocations: 0 / 1.364 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 6.813e-05/1.21, allocations: 26.8 kB / 1.364 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.997e-05/1.21, allocations: 55.41 kB / 1.364 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.532e-05/1.21, allocations: 92.44 kB / 1.365 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.29e-06/1.21, allocations: 26.52 kB / 1.365 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.856e-05/1.21, allocations: 80.14 kB / 1.365 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.543e-06/1.21, allocations: 0.9688 kB / 1.365 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.4e-07/1.21, allocations: 0 / 1.365 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001058/1.21, allocations: 313.3 kB / 1.365 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.464e-06/1.21, allocations: 0 / 1.365 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.146e-06/1.21, allocations: 128 / 1.365 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.521e-05/1.21, allocations: 80.25 kB / 1.365 GB, free: 29.81 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.196e-05/1.21, allocations: 75.28 kB / 1.365 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.205e-05/1.21, allocations: 35.17 kB / 1.365 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/1.21, allocations: 6.5 kB / 1.365 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-05/1.21, allocations: 76.25 kB / 1.365 GB, free: 29.63 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.587e-05/1.211, allocations: 155.7 kB / 1.365 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.378e-05/1.211, allocations: 82.03 kB / 1.365 GB, free: 29.4 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.908e-05/1.211, allocations: 154.6 kB / 1.366 GB, free: 29.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.297e-05/1.211, allocations: 80.28 kB / 1.366 GB, free: 29.17 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.583e-05/1.211, allocations: 81.59 kB / 1.366 GB, free: 29.09 MB / 0.8386 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.502e-05/1.211, allocations: 252.6 kB / 1.366 GB, free: 28.84 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.893e-05/1.211, allocations: 103.4 kB / 1.366 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.38e-05/1.211, allocations: 116.2 kB / 1.366 GB, free: 28.62 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.678e-05/1.211, allocations: 187.8 kB / 1.366 GB, free: 28.43 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.778e-05/1.211, allocations: 177.3 kB / 1.367 GB, free: 28.25 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.824e-05/1.211, allocations: 179.1 kB / 1.367 GB, free: 28.07 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001574/1.211, allocations: 380.6 kB / 1.367 GB, free: 27.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.532e-05/1.211, allocations: 107.1 kB / 1.367 GB, free: 27.55 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.244e-05/1.211, allocations: 109.7 kB / 1.367 GB, free: 27.44 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.002e-05/1.211, allocations: 187.1 kB / 1.367 GB, free: 27.25 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.892e-05/1.212, allocations: 181.4 kB / 1.368 GB, free: 27.07 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.197e-05/1.212, allocations: 182 kB / 1.368 GB, free: 26.88 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.614e-05/1.212, allocations: 181.6 kB / 1.368 GB, free: 26.7 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001191/1.212, allocations: 312.9 kB / 1.368 GB, free: 26.38 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002272/1.212, allocations: 0.6673 MB / 1.369 GB, free: 25.7 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.403e-05/1.212, allocations: 188.4 kB / 1.369 GB, free: 25.49 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.871e-05/1.212, allocations: 187 kB / 1.369 GB, free: 25.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.769e-05/1.212, allocations: 102 kB / 1.369 GB, free: 25.2 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.134e-05/1.212, allocations: 176.3 kB / 1.37 GB, free: 25.02 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.606e-05/1.212, allocations: 107.3 kB / 1.37 GB, free: 24.91 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3.673e-05/1.212, allocations: 77.25 kB / 1.37 GB, free: 24.84 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0009187/1.213, allocations: 59.41 kB / 1.37 GB, free: 24.82 MB / 0.8386 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.0004841/1.214, allocations: 330 kB / 1.37 GB, free: 24.61 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 2.713e-05/1.214, allocations: 1.062 kB / 1.37 GB, free: 24.61 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/1.214, allocations: 0 / 1.37 GB, free: 24.61 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.422e-06/1.214, allocations: 5.031 kB / 1.37 GB, free: 24.6 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003215/1.214, allocations: 0.5275 MB / 1.371 GB, free: 24.07 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001563/1.214, allocations: 117 kB / 1.371 GB, free: 23.94 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002532/1.215, allocations: 0.6845 MB / 1.371 GB, free: 23.23 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/1.215, allocations: 0 / 1.371 GB, free: 23.23 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1)