Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.7558/0.7558, allocations: 141.8 MB / 149.1 MB, free: 4.324 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 182.3 kB / 181.9 MB, free: 15.98 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 221.4 MB / 436 MB, free: 9.152 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009731/0.0009732, allocations: 96.95 kB / 0.507 GB, free: 24.32 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001882/0.001882, allocations: 286.6 kB / 0.5885 GB, free: 12.18 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.2027/0.2046, allocations: 89.64 MB / 0.676 GB, free: 2.453 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4439/0.6485, allocations: 82.78 MB / 0.7568 GB, free: 112.7 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1101/0.7586, allocations: 108.8 MB / 0.8631 GB, free: 3.816 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001719/0.7588, allocations: 83.94 kB / 0.8631 GB, free: 3.738 MB / 0.5263 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.009311/0.7681, allocations: 4.035 MB / 0.8671 GB, free: 15.68 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.7682, allocations: 8 kB / 0.8671 GB, free: 15.68 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.781e-05/0.7682, allocations: 77.06 kB / 0.8672 GB, free: 15.6 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.7684, allocations: 242.4 kB / 0.8674 GB, free: 15.32 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.215e-05/0.7684, allocations: 155.8 kB / 0.8675 GB, free: 15.17 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.198e-05/0.7685, allocations: 150.6 kB / 0.8677 GB, free: 15.02 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.521e-05/0.7685, allocations: 159.7 kB / 0.8678 GB, free: 14.87 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.763e-05/0.7686, allocations: 101.5 kB / 0.8679 GB, free: 14.76 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.132e-05/0.7687, allocations: 75.84 kB / 0.868 GB, free: 14.69 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.327e-05/0.7687, allocations: 153.3 kB / 0.8681 GB, free: 14.54 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.981e-05/0.7688, allocations: 155.1 kB / 0.8683 GB, free: 14.39 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002339/0.769, allocations: 428 kB / 0.8687 GB, free: 13.93 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 6.929e-05/0.7691, allocations: 170.4 kB / 0.8689 GB, free: 13.76 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.021e-05/0.7691, allocations: 80.64 kB / 0.8689 GB, free: 13.68 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.478e-05/0.7692, allocations: 79.75 kB / 0.869 GB, free: 13.6 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.379e-05/0.7692, allocations: 111.1 kB / 0.8691 GB, free: 13.48 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=0): time 1.182e-06/0.7692, allocations: 1.062 kB / 0.8691 GB, free: 13.48 MB / 0.5419 GB Notification: Performance of matching and sorting (n=0): time 7.107e-05/0.7693, allocations: 33.59 kB / 0.8692 GB, free: 13.44 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.712e-05/0.7693, allocations: 51.41 kB / 0.8692 GB, free: 13.38 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.973e-05/0.7694, allocations: 94.31 kB / 0.8693 GB, free: 13.28 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.016e-05/0.7694, allocations: 25.7 kB / 0.8693 GB, free: 13.25 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 2.33e-05/0.7695, allocations: 80.64 kB / 0.8694 GB, free: 13.17 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 1.372e-06/0.7695, allocations: 0.875 kB / 0.8694 GB, free: 13.17 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.6e-07/0.7695, allocations: 0 / 0.8694 GB, free: 13.17 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 9.488e-05/0.7696, allocations: 311.5 kB / 0.8697 GB, free: 12.86 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.507e-06/0.7696, allocations: 0.9062 kB / 0.8697 GB, free: 12.86 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.996e-06/0.7696, allocations: 0 / 0.8697 GB, free: 12.86 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.538e-05/0.7696, allocations: 76.44 kB / 0.8698 GB, free: 12.78 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.372e-05/0.7696, allocations: 79.88 kB / 0.8698 GB, free: 12.7 MB / 0.5419 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.677e-05/0.7697, allocations: 34.22 kB / 0.8699 GB, free: 12.66 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.7697, allocations: 4 kB / 0.8699 GB, free: 12.66 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.212e-05/0.7698, allocations: 80.59 kB / 0.87 GB, free: 12.58 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.131e-05/0.7698, allocations: 154.5 kB / 0.8701 GB, free: 12.43 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.32e-05/0.7698, allocations: 89.38 kB / 0.8702 GB, free: 12.34 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.252e-05/0.7699, allocations: 151.3 kB / 0.8703 GB, free: 12.2 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.334e-05/0.77, allocations: 75.97 kB / 0.8704 GB, free: 12.12 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.733e-05/0.77, allocations: 83.91 kB / 0.8705 GB, free: 12.04 MB / 0.5419 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.332e-05/0.7701, allocations: 253.4 kB / 0.8707 GB, free: 11.79 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.517e-05/0.7702, allocations: 105 kB / 0.8708 GB, free: 11.68 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.955e-05/0.7702, allocations: 104.8 kB / 0.8709 GB, free: 11.57 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.783e-05/0.7703, allocations: 186 kB / 0.8711 GB, free: 11.38 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-05/0.7703, allocations: 180.9 kB / 0.8713 GB, free: 11.2 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.397e-05/0.7704, allocations: 181.5 kB / 0.8714 GB, free: 11.01 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002153/0.7706, allocations: 386.7 kB / 0.8718 GB, free: 10.59 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.011e-05/0.7706, allocations: 101 kB / 0.8719 GB, free: 10.48 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.433e-05/0.7707, allocations: 105.1 kB / 0.872 GB, free: 10.38 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.548e-05/0.7707, allocations: 188.2 kB / 0.8722 GB, free: 10.18 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.052e-05/0.7708, allocations: 176.3 kB / 0.8724 GB, free: 10 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.247e-05/0.7709, allocations: 184.5 kB / 0.8725 GB, free: 9.816 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.625e-05/0.7709, allocations: 186.6 kB / 0.8727 GB, free: 9.629 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001471/0.7711, allocations: 315.7 kB / 0.873 GB, free: 9.297 MB / 0.5419 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002254/0.7713, allocations: 0.6643 MB / 0.8737 GB, free: 8.605 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.605e-05/0.7714, allocations: 189.9 kB / 0.8738 GB, free: 8.395 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.117e-05/0.7715, allocations: 180.3 kB / 0.874 GB, free: 8.211 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.031e-05/0.7715, allocations: 105 kB / 0.8741 GB, free: 8.102 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.326e-05/0.7716, allocations: 180.2 kB / 0.8743 GB, free: 7.918 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.019e-05/0.7716, allocations: 101 kB / 0.8744 GB, free: 7.812 MB / 0.5419 GB Notification: Performance of sort global known variables: time 3.782e-05/0.7717, allocations: 83.28 kB / 0.8745 GB, free: 7.73 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0008911/0.7726, allocations: 63.91 kB / 0.8745 GB, free: 7.668 MB / 0.5419 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.0005059/0.7731, allocations: 313.7 kB / 0.8748 GB, free: 7.391 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 3.235e-05/0.7731, allocations: 7.938 kB / 0.8748 GB, free: 7.383 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.7732, allocations: 0 / 0.8748 GB, free: 7.383 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 1.012e-06/0.7732, allocations: 0 / 0.8748 GB, free: 7.383 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002642/0.7734, allocations: 0.529 MB / 0.8754 GB, free: 6.852 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002029/0.7736, allocations: 122.5 kB / 0.8755 GB, free: 6.711 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002251/0.7739, allocations: 0.6841 MB / 0.8761 GB, free: 6 MB / 0.5419 GB Notification: Performance of SimCode: time 2.31e-07/0.7739, allocations: 0 / 0.8761 GB, free: 6 MB / 0.5419 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1)