Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.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.GetTimeSpanTMY3LongHeader,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",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.7562/0.7562, allocations: 141.8 MB / 149.1 MB, free: 15.64 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 182.7 kB / 182 MB, free: 12.02 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.377/1.377, allocations: 221.3 MB / 436 MB, free: 4.68 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.001222/0.001222, allocations: 106.6 kB / 0.507 GB, free: 18.89 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00178/0.00178, allocations: 281.4 kB / 0.5885 GB, free: 5.965 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.4209/0.4228, allocations: 89.64 MB / 0.676 GB, free: 139.2 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1683/0.5911, allocations: 82.78 MB / 0.7568 GB, free: 87.19 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1236/0.7147, allocations: 107.8 MB / 0.8621 GB, free: 11.27 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002474/0.715, allocations: 82 kB / 0.8622 GB, free: 11.19 MB / 0.5419 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.007862/0.7229, allocations: 3.059 MB / 0.8651 GB, free: 8.086 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.723, allocations: 12 kB / 0.8652 GB, free: 8.074 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.008e-05/0.723, allocations: 83.22 kB / 0.8652 GB, free: 7.992 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/0.7232, allocations: 242.2 kB / 0.8655 GB, free: 7.715 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.177e-05/0.7233, allocations: 154.6 kB / 0.8656 GB, free: 7.562 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.024e-05/0.7233, allocations: 154.9 kB / 0.8658 GB, free: 7.41 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.922e-05/0.7234, allocations: 150.6 kB / 0.8659 GB, free: 7.262 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.65e-05/0.7234, allocations: 116.9 kB / 0.866 GB, free: 7.141 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.7235, allocations: 75.28 kB / 0.8661 GB, free: 7.066 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.552e-05/0.7235, allocations: 150.6 kB / 0.8662 GB, free: 6.918 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.414e-05/0.7235, allocations: 150.6 kB / 0.8664 GB, free: 6.77 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00019/0.7237, allocations: 430.5 kB / 0.8668 GB, free: 6.312 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 5.617e-05/0.7238, allocations: 169.1 kB / 0.8669 GB, free: 6.137 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.938e-05/0.7238, allocations: 84.08 kB / 0.867 GB, free: 6.051 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.7239, allocations: 79.19 kB / 0.8671 GB, free: 5.973 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/0.7239, allocations: 113.8 kB / 0.8672 GB, free: 5.852 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.7239, allocations: 0 / 0.8672 GB, free: 5.852 MB / 0.5419 GB Notification: Performance of matching and sorting (n=0): time 7.127e-05/0.724, allocations: 29.7 kB / 0.8672 GB, free: 5.816 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.173e-05/0.724, allocations: 51.41 kB / 0.8673 GB, free: 5.754 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.383e-05/0.7241, allocations: 96.98 kB / 0.8674 GB, free: 5.652 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 9.718e-06/0.7241, allocations: 29.7 kB / 0.8674 GB, free: 5.617 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 2.254e-05/0.7241, allocations: 80.14 kB / 0.8675 GB, free: 5.535 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 1.252e-06/0.7241, allocations: 0 / 0.8675 GB, free: 5.535 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.5e-07/0.7241, allocations: 0 / 0.8675 GB, free: 5.535 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 8.014e-05/0.7242, allocations: 310.8 kB / 0.8678 GB, free: 5.223 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.796e-06/0.7242, allocations: 4 kB / 0.8678 GB, free: 5.219 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.185e-06/0.7243, allocations: 0 / 0.8678 GB, free: 5.219 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.745e-05/0.7243, allocations: 79.28 kB / 0.8679 GB, free: 5.141 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.012e-05/0.7243, allocations: 75.28 kB / 0.8679 GB, free: 5.066 MB / 0.5419 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.72e-05/0.7244, allocations: 33.55 kB / 0.868 GB, free: 5.027 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.7244, allocations: 8 kB / 0.868 GB, free: 5.02 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.237e-05/0.7244, allocations: 79.27 kB / 0.868 GB, free: 4.941 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.067e-05/0.7245, allocations: 154.6 kB / 0.8682 GB, free: 4.789 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.695e-05/0.7245, allocations: 83.25 kB / 0.8683 GB, free: 4.707 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-05/0.7246, allocations: 154.6 kB / 0.8684 GB, free: 4.555 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.39e-05/0.7247, allocations: 75.28 kB / 0.8685 GB, free: 4.48 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.349e-05/0.7247, allocations: 79.22 kB / 0.8686 GB, free: 4.402 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.678e-05/0.7248, allocations: 251.5 kB / 0.8688 GB, free: 4.148 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.169e-05/0.7249, allocations: 120.8 kB / 0.8689 GB, free: 4.023 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.428e-05/0.7249, allocations: 104.1 kB / 0.869 GB, free: 3.914 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-05/0.725, allocations: 181 kB / 0.8692 GB, free: 3.73 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.775e-05/0.725, allocations: 184.3 kB / 0.8694 GB, free: 3.543 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.904e-05/0.7251, allocations: 176.3 kB / 0.8695 GB, free: 3.363 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002008/0.7253, allocations: 389.8 kB / 0.8699 GB, free: 2.938 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.128e-05/0.7254, allocations: 105 kB / 0.87 GB, free: 2.828 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.541e-05/0.7254, allocations: 101.2 kB / 0.8701 GB, free: 2.723 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.461e-05/0.7255, allocations: 180.2 kB / 0.8703 GB, free: 2.539 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.385e-05/0.7255, allocations: 184.3 kB / 0.8705 GB, free: 2.352 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.947e-05/0.7256, allocations: 180.3 kB / 0.8706 GB, free: 2.168 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.603e-05/0.7256, allocations: 192.1 kB / 0.8708 GB, free: 1.973 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001175/0.7257, allocations: 299.8 kB / 0.8711 GB, free: 1.656 MB / 0.5419 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002349/0.726, allocations: 0.672 MB / 0.8718 GB, free: 0.957 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.925e-05/0.7261, allocations: 186.1 kB / 0.8719 GB, free: 0.75 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.822e-05/0.7261, allocations: 184.2 kB / 0.8721 GB, free: 0.5625 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.22e-05/0.7262, allocations: 105 kB / 0.8722 GB, free: 464 kB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.911e-05/0.7263, allocations: 180.2 kB / 0.8724 GB, free: 276 kB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-05/0.7263, allocations: 104.9 kB / 0.8725 GB, free: 164 kB / 0.5419 GB Notification: Performance of sort global known variables: time 3.752e-05/0.7264, allocations: 87.27 kB / 0.8726 GB, free: 76 kB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0008151/0.7272, allocations: 11.91 kB / 0.8726 GB, free: 64 kB / 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.2324/0.9596, allocations: 181.3 kB / 0.8727 GB, free: 167.4 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 7.115e-05/0.9597, allocations: 1.531 kB / 0.8727 GB, free: 167.4 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/0.9597, allocations: 0 / 0.8727 GB, free: 167.4 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 2.465e-06/0.9597, allocations: 3.812 kB / 0.8728 GB, free: 167.4 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002118/0.9599, allocations: 0.5187 MB / 0.8733 GB, free: 166.8 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002171/0.9601, allocations: 129.9 kB / 0.8734 GB, free: 166.7 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001544/0.9603, allocations: 0.6839 MB / 0.8741 GB, free: 166 MB / 0.5419 GB Notification: Performance of SimCode: time 2.6e-07/0.9603, allocations: 3.875 kB / 0.8741 GB, free: 166 MB / 0.5419 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1)