Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.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.GetHeaderElement,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",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.7231/0.7231, allocations: 141.8 MB / 149.1 MB, free: 3.965 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.001039/0.001039, allocations: 181.2 kB / 181.9 MB, free: 15.69 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.307/1.307, allocations: 221.3 MB / 436 MB, free: 8.816 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.0009417/0.0009417, allocations: 93.86 kB / 0.507 GB, free: 24.23 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001847/0.001847, allocations: 276.6 kB / 0.5884 GB, free: 11.87 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1883/0.1902, allocations: 89.65 MB / 0.676 GB, free: 2.141 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4325/0.6227, allocations: 82.77 MB / 0.7568 GB, free: 112.4 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1313/0.754, allocations: 110.3 MB / 0.8645 GB, free: 1.93 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002219/0.7543, allocations: 87.94 kB / 0.8646 GB, free: 1.848 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.0212/0.7755, allocations: 7.408 MB / 0.8719 GB, free: 10.43 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 5.53e-05/0.7756, allocations: 8 kB / 0.8719 GB, free: 10.42 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.728e-05/0.7756, allocations: 84.44 kB / 0.872 GB, free: 10.34 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002124/0.7759, allocations: 239.3 kB / 0.8722 GB, free: 10.06 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.697e-05/0.7759, allocations: 155.3 kB / 0.8723 GB, free: 9.91 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.578e-05/0.776, allocations: 155.1 kB / 0.8725 GB, free: 9.758 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.131e-05/0.7761, allocations: 155.4 kB / 0.8726 GB, free: 9.605 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.921e-05/0.7762, allocations: 101.5 kB / 0.8727 GB, free: 9.5 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.146e-05/0.7762, allocations: 76.06 kB / 0.8728 GB, free: 9.426 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.995e-05/0.7763, allocations: 151.3 kB / 0.8729 GB, free: 9.277 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.559e-05/0.7764, allocations: 151.2 kB / 0.8731 GB, free: 9.129 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003555/0.7767, allocations: 439.8 kB / 0.8735 GB, free: 8.664 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 8.541e-05/0.7768, allocations: 178.2 kB / 0.8737 GB, free: 8.48 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.443e-05/0.7769, allocations: 85.06 kB / 0.8738 GB, free: 8.395 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.753e-05/0.7769, allocations: 76.47 kB / 0.8738 GB, free: 8.32 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.228e-05/0.7769, allocations: 106.9 kB / 0.8739 GB, free: 8.207 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=0): time 1.212e-06/0.7769, allocations: 0 / 0.8739 GB, free: 8.207 MB / 0.5419 GB Notification: Performance of matching and sorting (n=0): time 8.201e-05/0.777, allocations: 30.42 kB / 0.874 GB, free: 8.172 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/0.7771, allocations: 52.03 kB / 0.874 GB, free: 8.109 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.858e-05/0.7772, allocations: 97.58 kB / 0.8741 GB, free: 8.008 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.7772, allocations: 31.23 kB / 0.8741 GB, free: 7.973 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 4.252e-05/0.7772, allocations: 88.95 kB / 0.8742 GB, free: 7.883 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 1.543e-06/0.7772, allocations: 0 / 0.8742 GB, free: 7.883 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.96e-06/0.7773, allocations: 0.625 kB / 0.8742 GB, free: 7.883 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.7774, allocations: 319.4 kB / 0.8745 GB, free: 7.562 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.148e-05/0.7774, allocations: 0.6875 kB / 0.8745 GB, free: 7.562 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.228e-05/0.7775, allocations: 27.25 kB / 0.8745 GB, free: 7.527 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001818/0.7777, allocations: 21.66 kB / 0.8746 GB, free: 7.508 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.7777, allocations: 4 kB / 0.8746 GB, free: 7.504 MB / 0.5419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002299/0.7779, allocations: 54.36 kB / 0.8746 GB, free: 7.445 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.7779, allocations: 8.656 kB / 0.8746 GB, free: 7.438 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.7779, allocations: 0 / 0.8746 GB, free: 7.438 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.778, allocations: 0.7969 kB / 0.8746 GB, free: 7.438 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.495e-05/0.778, allocations: 4.594 kB / 0.8746 GB, free: 7.434 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.778, allocations: 7.906 kB / 0.8746 GB, free: 7.426 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.845e-05/0.7781, allocations: 4.609 kB / 0.8746 GB, free: 7.422 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.665e-05/0.7782, allocations: 9.078 kB / 0.8747 GB, free: 7.414 MB / 0.5419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.335e-05/0.7783, allocations: 182.3 kB / 0.8748 GB, free: 7.23 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.229e-05/0.7783, allocations: 113.4 kB / 0.8749 GB, free: 7.113 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.216e-05/0.7784, allocations: 104.8 kB / 0.875 GB, free: 7.004 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.206e-05/0.7785, allocations: 184.8 kB / 0.8752 GB, free: 6.816 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.138e-05/0.7786, allocations: 181.5 kB / 0.8754 GB, free: 6.633 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.906e-05/0.7786, allocations: 181.8 kB / 0.8756 GB, free: 6.449 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000204/0.7788, allocations: 381.8 kB / 0.8759 GB, free: 6.031 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-05/0.7789, allocations: 105.6 kB / 0.876 GB, free: 5.922 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.742e-05/0.7789, allocations: 106.2 kB / 0.8761 GB, free: 5.812 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.454e-05/0.779, allocations: 176.3 kB / 0.8763 GB, free: 5.633 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.256e-05/0.7791, allocations: 182.6 kB / 0.8765 GB, free: 5.449 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.727e-05/0.7791, allocations: 180.2 kB / 0.8766 GB, free: 5.266 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.05e-05/0.7792, allocations: 185.5 kB / 0.8768 GB, free: 5.078 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002039/0.7794, allocations: 301.1 kB / 0.8771 GB, free: 4.762 MB / 0.5419 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002723/0.7797, allocations: 0.6877 MB / 0.8778 GB, free: 4.047 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.603e-05/0.7798, allocations: 178.4 kB / 0.8779 GB, free: 3.848 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.128e-05/0.7799, allocations: 180.2 kB / 0.8781 GB, free: 3.664 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.388e-05/0.7799, allocations: 112.9 kB / 0.8782 GB, free: 3.547 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.501e-05/0.78, allocations: 192.2 kB / 0.8784 GB, free: 3.352 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.192e-05/0.7801, allocations: 101 kB / 0.8785 GB, free: 3.246 MB / 0.5419 GB Notification: Performance of sort global known variables: time 3.951e-05/0.7801, allocations: 79.28 kB / 0.8786 GB, free: 3.168 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.001175/0.7813, allocations: 135.8 kB / 0.8787 GB, free: 3.035 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.001041/0.7823, allocations: 466.8 kB / 0.8792 GB, free: 2.625 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 7.62e-05/0.7824, allocations: 7.938 kB / 0.8792 GB, free: 2.617 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.7824, allocations: 4 kB / 0.8792 GB, free: 2.613 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 1.673e-06/0.7824, allocations: 0 / 0.8792 GB, free: 2.613 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003138/0.7828, allocations: 0.5265 MB / 0.8797 GB, free: 2.082 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002029/0.783, allocations: 119.3 kB / 0.8798 GB, free: 1.941 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000261/0.7832, allocations: 0.688 MB / 0.8805 GB, free: 1.227 MB / 0.5419 GB Notification: Performance of SimCode: time 2.5e-07/0.7832, allocations: 0 / 0.8805 GB, free: 1.227 MB / 0.5419 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1)