Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD300.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.WD300,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_Validation_BESTEST_WD300",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.Validation.BESTEST.WD300,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_Validation_BESTEST_WD300",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.7695/0.7695, allocations: 141.8 MB / 149.1 MB, free: 13.2 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.001218/0.001218, allocations: 183.2 kB / 181.9 MB, free: 9.871 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.394/1.394, allocations: 221.4 MB / 436 MB, free: 2.348 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.0009941/0.0009941, allocations: 93.12 kB / 0.507 GB, free: 11.07 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001751/0.00175, allocations: 280.4 kB / 0.5884 GB, free: 7.902 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1959/0.1977, allocations: 89.64 MB / 0.676 GB, free: 14.17 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.474/0.6717, allocations: 82.76 MB / 0.7568 GB, free: 139.1 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.76/4.432, allocations: 1.712 GB / 2.469 GB, free: 56.95 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004153/4.433, allocations: 93.5 kB / 2.469 GB, free: 56.87 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.902/6.335, allocations: 417.2 MB / 2.876 GB, free: 136.9 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/6.335, allocations: 12.53 kB / 2.876 GB, free: 136.9 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0493/6.384, allocations: 7.077 MB / 2.883 GB, free: 136.4 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01389/6.398, allocations: 3.689 MB / 2.887 GB, free: 135.7 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00077/6.399, allocations: 270.7 kB / 2.887 GB, free: 135.7 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005236/6.404, allocations: 469.6 kB / 2.888 GB, free: 135.7 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03555/6.44, allocations: 10.65 MB / 2.898 GB, free: 134.8 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03102/6.471, allocations: 8.791 MB / 2.907 GB, free: 130.4 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001986/6.471, allocations: 3.188 kB / 2.907 GB, free: 130.4 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001559/6.473, allocations: 4 kB / 2.907 GB, free: 130.4 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001477/6.473, allocations: 200 kB / 2.907 GB, free: 130.2 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08057/6.553, allocations: 31.26 MB / 2.937 GB, free: 113 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0153/6.569, allocations: 6.81 MB / 2.944 GB, free: 106.2 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008304/6.577, allocations: 3.782 MB / 2.948 GB, free: 102.4 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001692/6.579, allocations: 0.6784 MB / 2.948 GB, free: 101.7 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01113/6.59, allocations: 4.508 MB / 2.953 GB, free: 97.15 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=689): time 1.398e-05/6.59, allocations: 0 / 2.953 GB, free: 97.15 MB / 0.6982 GB Notification: Performance of matching and sorting (n=689): time 0.02577/6.616, allocations: 8.148 MB / 2.961 GB, free: 88.97 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001767/6.616, allocations: 463.8 kB / 2.961 GB, free: 88.42 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004609/6.621, allocations: 2.097 MB / 2.963 GB, free: 86.31 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 0.002654/6.623, allocations: 30.3 kB / 2.963 GB, free: 86.28 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.002351/6.626, allocations: 2.195 MB / 2.965 GB, free: 84.05 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.004388/6.63, allocations: 2.148 MB / 2.967 GB, free: 81.87 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001162/6.631, allocations: 0 / 2.967 GB, free: 81.87 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 0.0004331/6.632, allocations: 0.5193 MB / 2.968 GB, free: 81.34 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006216/6.638, allocations: 3.008 MB / 2.971 GB, free: 78.33 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007158/6.645, allocations: 3.538 MB / 2.974 GB, free: 74.7 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01015/6.655, allocations: 3.943 MB / 2.978 GB, free: 70.75 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.246e-05/6.656, allocations: 0 / 2.978 GB, free: 70.75 MB / 0.6982 GB Notification: Performance of matching and sorting (n=760) (initialization): time 0.03107/6.687, allocations: 8.483 MB / 2.987 GB, free: 62.22 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/6.687, allocations: 4 kB / 2.987 GB, free: 62.22 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.435e-05/6.687, allocations: 6.625 kB / 2.987 GB, free: 62.21 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001267/6.688, allocations: 189.8 kB / 2.987 GB, free: 62.02 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01635/6.704, allocations: 2.029 MB / 2.989 GB, free: 60.06 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003975/6.708, allocations: 2.915 MB / 2.992 GB, free: 56.93 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01475/6.723, allocations: 0.9828 MB / 2.993 GB, free: 55.94 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004238/6.727, allocations: 307.6 kB / 2.993 GB, free: 55.64 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.006265/6.734, allocations: 201.8 kB / 2.993 GB, free: 55.51 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004241/6.738, allocations: 446.5 kB / 2.993 GB, free: 55.07 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04734/6.785, allocations: 10.55 MB / 3.004 GB, free: 44.59 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.066e-05/6.786, allocations: 72 kB / 3.004 GB, free: 44.52 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.055e-05/6.786, allocations: 0 / 3.004 GB, free: 44.52 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002445/6.786, allocations: 31.88 kB / 3.004 GB, free: 44.49 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05582/6.842, allocations: 18.12 MB / 3.022 GB, free: 26.39 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.427e-05/6.842, allocations: 8 kB / 3.022 GB, free: 26.39 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01575/6.858, allocations: 1.905 MB / 3.023 GB, free: 24.55 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001271/6.859, allocations: 181.6 kB / 3.024 GB, free: 24.36 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003188/6.862, allocations: 147.7 kB / 3.024 GB, free: 24.22 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003504/6.866, allocations: 2.967 MB / 3.027 GB, free: 21.03 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/6.866, allocations: 0 / 3.027 GB, free: 21.03 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0306/6.896, allocations: 8.456 MB / 3.035 GB, free: 12.48 MB / 0.6982 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03175/6.928, allocations: 8.952 MB / 3.044 GB, free: 3.438 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007347/6.936, allocations: 1.828 MB / 3.045 GB, free: 1.582 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004422/6.94, allocations: 4 kB / 3.045 GB, free: 1.578 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.015/6.955, allocations: 0.7218 MB / 3.046 GB, free: 0.8555 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003346/6.958, allocations: 365.3 kB / 3.046 GB, free: 0.4961 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003715/6.962, allocations: 275.7 kB / 3.047 GB, free: 232 kB / 0.6982 GB Notification: Performance of sort global known variables: time 0.006494/6.969, allocations: 1.775 MB / 3.048 GB, free: 14.46 MB / 0.7138 GB Notification: Performance of remove unused functions: time 0.01388/6.983, allocations: 1.964 MB / 3.05 GB, free: 12.49 MB / 0.7138 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.005713/6.988, allocations: 1.283 MB / 3.052 GB, free: 11.59 MB / 0.7138 GB Notification: Performance of simCode: created initialization part: time 0.0253/7.014, allocations: 7.816 MB / 3.059 GB, free: 3.758 MB / 0.7138 GB Notification: Performance of simCode: created event and clocks part: time 1.67e-05/7.014, allocations: 11.94 kB / 3.059 GB, free: 3.746 MB / 0.7138 GB Notification: Performance of simCode: created simulation system equations: time 0.4419/7.456, allocations: 4.36 MB / 3.064 GB, free: 183.5 MB / 0.7138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006705/7.463, allocations: 0.5669 MB / 3.064 GB, free: 183.5 MB / 0.7138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03949/7.502, allocations: 10.58 MB / 3.074 GB, free: 181.3 MB / 0.7138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01189/7.514, allocations: 4.35 MB / 3.079 GB, free: 180.5 MB / 0.7138 GB Notification: Performance of SimCode: time 1.283e-06/7.514, allocations: 0 / 3.079 GB, free: 180.5 MB / 0.7138 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD300.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD300.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD300.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD300.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_Validation_BESTEST_WD300_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_Validation_BESTEST_WD300.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD300.pipe 2>&1)