Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD200.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.Validation.BESTEST.WD200,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_Validation_BESTEST_WD200",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.Validation.BESTEST.WD200,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_Validation_BESTEST_WD200",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.7374/0.7374, allocations: 141.8 MB / 149.1 MB, free: 14.4 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.001097/0.001097, allocations: 186.1 kB / 182 MB, free: 10.91 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.415/1.415, allocations: 221.3 MB / 436 MB, free: 3.484 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.0009494/0.0009494, allocations: 102.9 kB / 0.5071 GB, free: 18.34 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002012/0.002012, allocations: 281.2 kB / 0.5885 GB, free: 4.852 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.479/0.4811, allocations: 89.63 MB / 0.676 GB, free: 137.6 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1795/0.6606, allocations: 82.78 MB / 0.7568 GB, free: 85.07 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.318/4.978, allocations: 1.712 GB / 2.469 GB, free: 263.1 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002673/4.979, allocations: 88.62 kB / 2.469 GB, free: 263.1 MB / 0.6982 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2137 * Number of variables: 2137 Notification: Performance of Generate backend data structure: time 1.454/6.433, allocations: 417.1 MB / 2.876 GB, free: 113.4 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/6.433, allocations: 8 kB / 2.876 GB, free: 113.4 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0479/6.48, allocations: 7.079 MB / 2.883 GB, free: 106.7 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01291/6.493, allocations: 3.687 MB / 2.887 GB, free: 104.6 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005358/6.494, allocations: 268 kB / 2.887 GB, free: 104.3 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004566/6.499, allocations: 468 kB / 2.888 GB, free: 103.9 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03219/6.531, allocations: 10.65 MB / 2.898 GB, free: 97.18 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03774/6.569, allocations: 8.793 MB / 2.907 GB, free: 91.18 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004041/6.569, allocations: 4 kB / 2.907 GB, free: 91.18 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004415/6.574, allocations: 0 / 2.907 GB, free: 91.18 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001634/6.574, allocations: 204 kB / 2.907 GB, free: 90.98 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08831/6.662, allocations: 31.27 MB / 2.937 GB, free: 60.5 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01738/6.68, allocations: 6.8 MB / 2.944 GB, free: 53.72 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01028/6.69, allocations: 3.786 MB / 2.948 GB, free: 49.93 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001939/6.692, allocations: 0.6762 MB / 2.948 GB, free: 49.22 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01387/6.706, allocations: 4.505 MB / 2.953 GB, free: 44.66 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=689): time 1.933e-05/6.706, allocations: 4 kB / 2.953 GB, free: 44.65 MB / 0.6982 GB Notification: Performance of matching and sorting (n=689): time 0.02981/6.736, allocations: 8.143 MB / 2.961 GB, free: 36.43 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001645/6.736, allocations: 467 kB / 2.961 GB, free: 35.88 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005539/6.741, allocations: 2.092 MB / 2.963 GB, free: 33.77 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 0.002738/6.744, allocations: 33.7 kB / 2.963 GB, free: 33.73 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.002443/6.747, allocations: 2.191 MB / 2.965 GB, free: 31.51 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.004765/6.751, allocations: 2.147 MB / 2.968 GB, free: 29.33 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002442/6.754, allocations: 0 / 2.968 GB, free: 29.33 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 0.0005837/6.754, allocations: 0.5187 MB / 2.968 GB, free: 28.8 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007724/6.762, allocations: 3.011 MB / 2.971 GB, free: 25.79 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009534/6.772, allocations: 3.537 MB / 2.974 GB, free: 22.16 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01264/6.784, allocations: 3.941 MB / 2.978 GB, free: 18.19 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.66e-05/6.785, allocations: 4 kB / 2.978 GB, free: 18.19 MB / 0.6982 GB Notification: Performance of matching and sorting (n=760) (initialization): time 0.0316/6.816, allocations: 8.479 MB / 2.987 GB, free: 9.66 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 2.899e-05/6.816, allocations: 4 kB / 2.987 GB, free: 9.656 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.871e-05/6.816, allocations: 4 kB / 2.987 GB, free: 9.652 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001302/6.818, allocations: 193.8 kB / 2.987 GB, free: 9.457 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01612/6.834, allocations: 2.027 MB / 2.989 GB, free: 7.5 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00373/6.838, allocations: 2.922 MB / 2.992 GB, free: 4.359 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01381/6.851, allocations: 0.9825 MB / 2.993 GB, free: 3.375 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004432/6.856, allocations: 315.5 kB / 2.993 GB, free: 3.066 MB / 0.6982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition2,$whenCondition1,$PRE.weaDatTDryBulTDewPoinOpa.conTimMin.tNext,weaDatTDryBulTDewPoinOpa.conTimMin.tNext,$PRE.weaDatTDryBulTDewPoinOpa.conTim.tNext,weaDatTDryBulTDewPoinOpa.conTim.tNext,$whenCondition4,$whenCondition3,$PRE.weaDatHHorIR.conTimMin.tNext,weaDatHHorIR.conTimMin.tNext,$PRE.weaDatHHorIR.conTim.tNext,weaDatHHorIR.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (756): * Single equations (assignments): 754 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.006298/6.862, allocations: 192.6 kB / 2.993 GB, free: 2.926 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004279/6.867, allocations: 446.5 kB / 2.993 GB, free: 2.484 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4744/7.341, allocations: 10.53 MB / 3.004 GB, free: 173.5 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.95e-05/7.341, allocations: 79.05 kB / 3.004 GB, free: 173.5 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.544e-05/7.341, allocations: 5.875 kB / 3.004 GB, free: 173.5 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002298/7.341, allocations: 31.97 kB / 3.004 GB, free: 173.5 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06471/7.406, allocations: 18.12 MB / 3.022 GB, free: 172.7 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.098e-05/7.406, allocations: 0 / 3.022 GB, free: 172.7 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01579/7.422, allocations: 1.903 MB / 3.023 GB, free: 172.7 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001289/7.423, allocations: 186.9 kB / 3.024 GB, free: 172.6 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003622/7.427, allocations: 143.9 kB / 3.024 GB, free: 172.6 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004074/7.431, allocations: 2.966 MB / 3.027 GB, free: 170.2 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.374e-06/7.431, allocations: 0 / 3.027 GB, free: 170.2 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03288/7.464, allocations: 8.471 MB / 3.035 GB, free: 169.8 MB / 0.6982 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03164/7.496, allocations: 8.938 MB / 3.044 GB, free: 168.9 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006299/7.502, allocations: 1.83 MB / 3.045 GB, free: 168.6 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00395/7.506, allocations: 9.312 kB / 3.045 GB, free: 168.6 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01326/7.519, allocations: 0.7257 MB / 3.046 GB, free: 168.6 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002463/7.522, allocations: 371.3 kB / 3.046 GB, free: 168.5 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002992/7.525, allocations: 276.3 kB / 3.047 GB, free: 168.5 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.004877/7.53, allocations: 1.778 MB / 3.048 GB, free: 168.4 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.01487/7.545, allocations: 1.955 MB / 3.05 GB, free: 168.2 MB / 0.6982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,weaDatTDryBulTDewPoinOpa.conTimMin.tNext,weaDatTDryBulTDewPoinOpa.conTim.tNext,$whenCondition4,$whenCondition3,weaDatHHorIR.conTimMin.tNext,weaDatHHorIR.conTim.tNext) * Number of discrete states: 4 (weaDatHHorIR.conTim.tNext,weaDatHHorIR.conTimMin.tNext,weaDatTDryBulTDewPoinOpa.conTimMin.tNext,weaDatTDryBulTDewPoinOpa.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (731): * Single equations (assignments): 725 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.006942/7.552, allocations: 1.289 MB / 3.052 GB, free: 168 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.02024/7.572, allocations: 7.823 MB / 3.059 GB, free: 167.7 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 8.827e-06/7.572, allocations: 0 / 3.059 GB, free: 167.7 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.01132/7.583, allocations: 4.363 MB / 3.064 GB, free: 167.5 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005961/7.589, allocations: 0.5548 MB / 3.064 GB, free: 167.5 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04546/7.635, allocations: 10.58 MB / 3.074 GB, free: 163.3 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01661/7.651, allocations: 4.349 MB / 3.079 GB, free: 162.4 MB / 0.6982 GB Notification: Performance of SimCode: time 1.914e-06/7.651, allocations: 1.281 kB / 3.079 GB, free: 162.4 MB / 0.6982 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD200.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD200.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD200.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD200.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_Validation_BESTEST_WD200_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_Validation_BESTEST_WD200.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD200.pipe 2>&1)