Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD100.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.WD100,tolerance=1e-06,outputFormat="empty",numberOfIntervals=70080,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD100") translateModel(BuildingSystems.BoundaryConditions.Validation.BESTEST.WD100,tolerance=1e-06,outputFormat="empty",numberOfIntervals=70080,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD100") [: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.7509/0.7509, allocations: 141.8 MB / 149.1 MB, free: 1.375 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.001186/0.001186, allocations: 191.4 kB / 182 MB, free: 0.6484 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.423/1.423, allocations: 221.4 MB / 436 MB, free: 5.371 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.001094/0.001094, allocations: 84.64 kB / 0.507 GB, free: 2.047 MB / 410.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001809/0.001809, allocations: 276.3 kB / 0.5884 GB, free: 47.12 MB / 410.9 MB Notification: Performance of FrontEnd - loaded program: time 7.564e-06/7.594e-06, allocations: 0 / 0.6759 GB, free: 59.53 MB / 442.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2189/0.2189, allocations: 82.78 MB / 0.7567 GB, free: 0.5781 MB / 442.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.127/4.346, allocations: 1.712 GB / 2.469 GB, free: 253.2 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000288/4.346, allocations: 84.89 kB / 2.469 GB, free: 253.2 MB / 0.6982 GB Notification: Performance of FrontEnd: time 1.212/5.559, allocations: 364.2 MB / 2.824 GB, free: 134.7 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 0.001466/5.56, allocations: 169.4 kB / 2.825 GB, free: 134.7 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 0.0252/5.585, allocations: 6.579 MB / 2.831 GB, free: 131.1 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 5.389e-05/5.585, allocations: 10.03 kB / 2.831 GB, free: 131.1 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04594/5.631, allocations: 7.076 MB / 2.838 GB, free: 124.4 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01078/5.642, allocations: 3.693 MB / 2.842 GB, free: 122.3 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005962/5.643, allocations: 268 kB / 2.842 GB, free: 122.1 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003526/5.646, allocations: 471.9 kB / 2.842 GB, free: 121.6 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02657/5.673, allocations: 10.65 MB / 2.853 GB, free: 114.9 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03027/5.703, allocations: 8.792 MB / 2.861 GB, free: 108.9 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003531/5.704, allocations: 2.062 kB / 2.861 GB, free: 108.9 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003988/5.708, allocations: 4 kB / 2.861 GB, free: 108.9 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001941/5.708, allocations: 203.7 kB / 2.861 GB, free: 108.7 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07894/5.787, allocations: 31.26 MB / 2.892 GB, free: 83.15 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01363/5.8, allocations: 6.795 MB / 2.899 GB, free: 76.37 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007289/5.808, allocations: 3.786 MB / 2.902 GB, free: 72.57 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001387/5.809, allocations: 0.6807 MB / 2.903 GB, free: 71.86 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01007/5.819, allocations: 4.5 MB / 2.907 GB, free: 67.3 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=689): time 1.238e-05/5.819, allocations: 7.469 kB / 2.907 GB, free: 67.3 MB / 0.6982 GB Notification: Performance of matching and sorting (n=689): time 0.02142/5.841, allocations: 8.152 MB / 2.915 GB, free: 59.07 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001129/5.841, allocations: 467 kB / 2.916 GB, free: 58.52 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003384/5.844, allocations: 2.096 MB / 2.918 GB, free: 56.41 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 0.001929/5.846, allocations: 25.7 kB / 2.918 GB, free: 56.38 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.001564/5.848, allocations: 2.203 MB / 2.92 GB, free: 54.14 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.003149/5.851, allocations: 2.135 MB / 2.922 GB, free: 51.97 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008322/5.852, allocations: 4 kB / 2.922 GB, free: 51.97 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 0.000298/5.852, allocations: 0.5225 MB / 2.923 GB, free: 51.44 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0055/5.858, allocations: 3.011 MB / 2.926 GB, free: 48.42 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007358/5.865, allocations: 3.535 MB / 2.929 GB, free: 44.79 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01035/5.875, allocations: 3.94 MB / 2.933 GB, free: 40.82 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.853e-05/5.875, allocations: 0 / 2.933 GB, free: 40.82 MB / 0.6982 GB Notification: Performance of matching and sorting (n=760) (initialization): time 0.02068/5.896, allocations: 8.481 MB / 2.941 GB, free: 32.29 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/5.896, allocations: 4 kB / 2.941 GB, free: 32.29 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.253e-05/5.896, allocations: 4 kB / 2.941 GB, free: 32.29 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001091/5.897, allocations: 185.8 kB / 2.941 GB, free: 32.1 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01448/5.912, allocations: 2.026 MB / 2.943 GB, free: 30.14 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003472/5.915, allocations: 2.936 MB / 2.946 GB, free: 26.99 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01283/5.928, allocations: 0.9843 MB / 2.947 GB, free: 26 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003036/5.931, allocations: 303.6 kB / 2.947 GB, free: 25.7 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.002441/5.934, allocations: 193.8 kB / 2.948 GB, free: 25.58 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00186/5.936, allocations: 450.4 kB / 2.948 GB, free: 25.13 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02806/5.964, allocations: 10.54 MB / 2.958 GB, free: 14.64 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.551e-05/5.964, allocations: 72 kB / 2.958 GB, free: 14.57 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.514e-05/5.964, allocations: 3.984 kB / 2.958 GB, free: 14.57 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.234e-05/5.964, allocations: 31.88 kB / 2.958 GB, free: 14.54 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03869/6.003, allocations: 18.12 MB / 2.976 GB, free: 12.44 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.342e-05/6.003, allocations: 0 / 2.976 GB, free: 12.44 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01418/6.017, allocations: 1.92 MB / 2.978 GB, free: 10.58 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001166/6.018, allocations: 185.5 kB / 2.978 GB, free: 10.39 MB / 0.7138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002082/6.02, allocations: 139.7 kB / 2.978 GB, free: 10.25 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0039/6.024, allocations: 2.966 MB / 2.981 GB, free: 7.059 MB / 0.7138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/6.024, allocations: 0 / 2.981 GB, free: 7.059 MB / 0.7138 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.2422/6.266, allocations: 8.467 MB / 2.989 GB, free: 186.6 MB / 0.7138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005197/6.271, allocations: 1.823 MB / 2.991 GB, free: 186.5 MB / 0.7138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002316/6.274, allocations: 4.938 kB / 2.991 GB, free: 186.5 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01058/6.284, allocations: 0.7247 MB / 2.992 GB, free: 186.5 MB / 0.7138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001252/6.286, allocations: 362.3 kB / 2.992 GB, free: 186.5 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001126/6.287, allocations: 276.4 kB / 2.993 GB, free: 186.5 MB / 0.7138 GB Notification: Performance of sort global known variables: time 0.002716/6.29, allocations: 1.779 MB / 2.994 GB, free: 186.3 MB / 0.7138 GB Notification: Performance of remove unused functions: time 0.006987/6.297, allocations: 1.854 MB / 2.996 GB, free: 186.3 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.003206/6.3, allocations: 1.297 MB / 2.997 GB, free: 186.2 MB / 0.7138 GB Notification: Performance of simCode: created initialization part: time 0.0146/6.314, allocations: 7.821 MB / 3.005 GB, free: 185.9 MB / 0.7138 GB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/6.314, allocations: 3.062 kB / 3.005 GB, free: 185.9 MB / 0.7138 GB Notification: Performance of simCode: created simulation system equations: time 0.008499/6.323, allocations: 4.362 MB / 3.009 GB, free: 185.7 MB / 0.7138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004478/6.327, allocations: 0.5752 MB / 3.01 GB, free: 185.6 MB / 0.7138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02708/6.355, allocations: 10.58 MB / 3.02 GB, free: 183.5 MB / 0.7138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00846/6.363, allocations: 4.347 MB / 3.024 GB, free: 182.6 MB / 0.7138 GB Notification: Performance of SimCode: time 7.41e-07/6.363, allocations: 0 / 3.024 GB, free: 182.6 MB / 0.7138 GB Notification: Performance of Templates: time 0.1731/6.536, allocations: 115.8 MB / 3.138 GB, free: 168.4 MB / 0.7138 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD100.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD100.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD100.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD100.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD100.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD100 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD100.pipe 2>&1)