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: translateModel(BuildingSystems.BoundaryConditions.Validation.BESTEST.WD200,tolerance=1e-06,outputFormat="empty",numberOfIntervals=70080,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD200") translateModel(BuildingSystems.BoundaryConditions.Validation.BESTEST.WD200,tolerance=1e-06,outputFormat="empty",numberOfIntervals=70080,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD200") [: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.7345/0.7345, allocations: 141.8 MB / 149.1 MB, free: 1.344 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.001253/0.001253, allocations: 177.3 kB / 181.9 MB, free: 0.7578 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.314/1.314, allocations: 221.4 MB / 436 MB, free: 5.434 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.0009902/0.0009901, allocations: 92.66 kB / 0.507 GB, free: 2.117 MB / 410.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001778/0.001779, allocations: 280 kB / 0.5885 GB, free: 47.26 MB / 410.9 MB Notification: Performance of FrontEnd - loaded program: time 7.193e-06/7.303e-06, allocations: 0.9688 kB / 0.6759 GB, free: 59.49 MB / 442.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.1686, allocations: 82.77 MB / 0.7567 GB, free: 0.7227 MB / 442.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.806/3.975, allocations: 1.712 GB / 2.469 GB, free: 78.28 MB / 0.7138 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003204/3.975, allocations: 91.94 kB / 2.469 GB, free: 78.19 MB / 0.7138 GB Notification: Performance of FrontEnd: time 1.73/5.705, allocations: 410.4 MB / 2.87 GB, free: 142.9 MB / 0.7138 GB Notification: Performance of Transformations before backend: time 0.0007625/5.706, allocations: 162.7 kB / 2.87 GB, free: 142.9 MB / 0.7138 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 0.02282/5.729, allocations: 6.584 MB / 2.876 GB, free: 140.5 MB / 0.7138 GB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/5.729, allocations: 8.188 kB / 2.876 GB, free: 140.5 MB / 0.7138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04637/5.775, allocations: 7.078 MB / 2.883 GB, free: 140.1 MB / 0.7138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01276/5.788, allocations: 3.682 MB / 2.887 GB, free: 139.3 MB / 0.7138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008002/5.789, allocations: 270.1 kB / 2.887 GB, free: 139.3 MB / 0.7138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004515/5.794, allocations: 468.6 kB / 2.888 GB, free: 139.3 MB / 0.7138 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03078/5.824, allocations: 10.65 MB / 2.898 GB, free: 139.3 MB / 0.7138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03287/5.857, allocations: 8.788 MB / 2.907 GB, free: 138.8 MB / 0.7138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004602/5.858, allocations: 1.312 kB / 2.907 GB, free: 138.8 MB / 0.7138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004088/5.862, allocations: 5.781 kB / 2.907 GB, free: 138.8 MB / 0.7138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002268/5.862, allocations: 204.7 kB / 2.907 GB, free: 138.8 MB / 0.7138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08373/5.946, allocations: 31.27 MB / 2.937 GB, free: 130.9 MB / 0.7138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01918/5.965, allocations: 6.801 MB / 2.944 GB, free: 130.7 MB / 0.7138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01061/5.976, allocations: 3.778 MB / 2.948 GB, free: 130.6 MB / 0.7138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002611/5.978, allocations: 0.677 MB / 2.948 GB, free: 130.2 MB / 0.7138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02025/5.999, allocations: 4.514 MB / 2.953 GB, free: 129.6 MB / 0.7138 GB Notification: Performance of pre-optimization done (n=689): time 4.95e-05/5.999, allocations: 0 / 2.953 GB, free: 129.6 MB / 0.7138 GB Notification: Performance of matching and sorting (n=689): time 0.02971/6.029, allocations: 8.151 MB / 2.961 GB, free: 123 MB / 0.7138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001597/6.029, allocations: 463.1 kB / 2.961 GB, free: 122.5 MB / 0.7138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004983/6.034, allocations: 2.099 MB / 2.963 GB, free: 120.5 MB / 0.7138 GB Notification: Performance of collectPreVariables (initialization): time 0.00218/6.036, allocations: 29.7 kB / 2.963 GB, free: 120.5 MB / 0.7138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002014/6.038, allocations: 2.187 MB / 2.965 GB, free: 118.6 MB / 0.7138 GB Notification: Performance of collectInitialBindings (initialization): time 0.003725/6.042, allocations: 2.151 MB / 2.967 GB, free: 116.6 MB / 0.7138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002099/6.044, allocations: 0 / 2.967 GB, free: 116.6 MB / 0.7138 GB Notification: Performance of setup shared object (initialization): time 0.0005297/6.044, allocations: 0.5178 MB / 2.968 GB, free: 116.2 MB / 0.7138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007336/6.052, allocations: 3.012 MB / 2.971 GB, free: 113.2 MB / 0.7138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008298/6.06, allocations: 3.534 MB / 2.974 GB, free: 109.8 MB / 0.7138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0107/6.071, allocations: 3.94 MB / 2.978 GB, free: 106.3 MB / 0.7138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.276e-05/6.071, allocations: 0 / 2.978 GB, free: 106.3 MB / 0.7138 GB Notification: Performance of matching and sorting (n=760) (initialization): time 0.02656/6.097, allocations: 8.48 MB / 2.986 GB, free: 98.6 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/6.097, allocations: 7.469 kB / 2.986 GB, free: 98.59 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.892e-05/6.098, allocations: 4 kB / 2.986 GB, free: 98.59 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001222/6.099, allocations: 190.8 kB / 2.987 GB, free: 98.44 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01482/6.114, allocations: 2.027 MB / 2.989 GB, free: 96.96 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003505/6.117, allocations: 2.924 MB / 2.991 GB, free: 93.94 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01371/6.131, allocations: 0.9809 MB / 2.992 GB, free: 93.15 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0038/6.135, allocations: 313.8 kB / 2.993 GB, free: 92.94 MB / 0.7138 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.005725/6.14, allocations: 190.3 kB / 2.993 GB, free: 92.82 MB / 0.7138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003983/6.144, allocations: 450.3 kB / 2.993 GB, free: 92.38 MB / 0.7138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04094/6.185, allocations: 10.55 MB / 3.004 GB, free: 83.61 MB / 0.7138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.737e-05/6.186, allocations: 72 kB / 3.004 GB, free: 83.54 MB / 0.7138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.741e-05/6.186, allocations: 0 / 3.004 GB, free: 83.54 MB / 0.7138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001851/6.186, allocations: 38.86 kB / 3.004 GB, free: 83.54 MB / 0.7138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04672/6.233, allocations: 18.12 MB / 3.021 GB, free: 68.94 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.558e-05/6.233, allocations: 2.906 kB / 3.021 GB, free: 68.94 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01424/6.247, allocations: 1.905 MB / 3.023 GB, free: 67.52 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001203/6.248, allocations: 183.7 kB / 3.023 GB, free: 67.37 MB / 0.7138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002796/6.251, allocations: 148.2 kB / 3.024 GB, free: 67.29 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003263/6.254, allocations: 2.968 MB / 3.026 GB, free: 64.23 MB / 0.7138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/6.254, allocations: 7.625 kB / 3.026 GB, free: 64.22 MB / 0.7138 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02784/6.282, allocations: 8.459 MB / 3.035 GB, free: 56.47 MB / 0.7138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005731/6.288, allocations: 1.828 MB / 3.037 GB, free: 54.98 MB / 0.7138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003774/6.292, allocations: 0 / 3.037 GB, free: 54.98 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01351/6.305, allocations: 0.7293 MB / 3.037 GB, free: 54.46 MB / 0.7138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002742/6.308, allocations: 369.2 kB / 3.038 GB, free: 54.25 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00311/6.311, allocations: 270.4 kB / 3.038 GB, free: 54.06 MB / 0.7138 GB Notification: Performance of sort global known variables: time 0.005285/6.316, allocations: 1.783 MB / 3.04 GB, free: 52.44 MB / 0.7138 GB Notification: Performance of remove unused functions: time 0.01024/6.327, allocations: 1.854 MB / 3.041 GB, free: 50.59 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.004323/6.331, allocations: 1.286 MB / 3.043 GB, free: 49.78 MB / 0.7138 GB Notification: Performance of simCode: created initialization part: time 0.0179/6.349, allocations: 7.832 MB / 3.05 GB, free: 42.25 MB / 0.7138 GB Notification: Performance of simCode: created event and clocks part: time 1.026e-05/6.349, allocations: 0 / 3.05 GB, free: 42.25 MB / 0.7138 GB Notification: Performance of simCode: created simulation system equations: time 0.01018/6.359, allocations: 4.36 MB / 3.055 GB, free: 38.06 MB / 0.7138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005858/6.365, allocations: 0.5721 MB / 3.055 GB, free: 37.62 MB / 0.7138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0372/6.402, allocations: 10.58 MB / 3.065 GB, free: 27.75 MB / 0.7138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01519/6.418, allocations: 4.346 MB / 3.07 GB, free: 24.64 MB / 0.7138 GB Notification: Performance of SimCode: time 1.433e-06/6.418, allocations: 4 kB / 3.07 GB, free: 24.64 MB / 0.7138 GB Notification: Performance of Templates: time 0.5381/6.956, allocations: 115.8 MB / 3.183 GB, free: 183.6 MB / 0.7138 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD200.makefile (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 & ./BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD200 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD200.pipe 2>&1)