Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD600.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.WD600,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_Validation_BESTEST_WD600",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.Validation.BESTEST.WD600,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_Validation_BESTEST_WD600",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.7407/0.7407, allocations: 141.8 MB / 149.1 MB, free: 4.391 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.001036/0.001036, allocations: 195.1 kB / 181.9 MB, free: 52 kB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 221.3 MB / 436 MB, free: 9.227 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.0009962/0.0009963, allocations: 94.39 kB / 0.507 GB, free: 24.19 MB / 394.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: 268.8 kB / 0.5884 GB, free: 12.23 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1892/0.191, allocations: 89.64 MB / 0.676 GB, free: 2.504 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4045/0.5955, allocations: 82.76 MB / 0.7568 GB, free: 112.8 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.136/3.731, allocations: 1.712 GB / 2.469 GB, free: 80.68 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002441/3.731, allocations: 87.94 kB / 2.469 GB, free: 80.6 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.727/5.458, allocations: 417.2 MB / 2.876 GB, free: 137.6 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/5.458, allocations: 12.97 kB / 2.876 GB, free: 137.6 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04787/5.506, allocations: 7.075 MB / 2.883 GB, free: 137.1 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01054/5.517, allocations: 3.682 MB / 2.887 GB, free: 136.4 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005174/5.517, allocations: 270.7 kB / 2.887 GB, free: 136.4 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004137/5.521, allocations: 472 kB / 2.888 GB, free: 136.4 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03083/5.552, allocations: 10.65 MB / 2.898 GB, free: 136.3 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03313/5.585, allocations: 8.785 MB / 2.907 GB, free: 135.8 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003968/5.586, allocations: 0 / 2.907 GB, free: 135.8 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003489/5.589, allocations: 7.469 kB / 2.907 GB, free: 135.8 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000165/5.59, allocations: 205 kB / 2.907 GB, free: 135.8 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08616/5.676, allocations: 31.26 MB / 2.937 GB, free: 127.9 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01939/5.695, allocations: 6.802 MB / 2.944 GB, free: 125.4 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009842/5.705, allocations: 3.781 MB / 2.948 GB, free: 121.7 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002015/5.707, allocations: 0.6847 MB / 2.948 GB, free: 121 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01356/5.721, allocations: 4.505 MB / 2.953 GB, free: 117.4 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=689): time 1.783e-05/5.721, allocations: 3.797 kB / 2.953 GB, free: 117.4 MB / 0.6982 GB Notification: Performance of matching and sorting (n=689): time 0.03084/5.752, allocations: 8.148 MB / 2.961 GB, free: 110 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000232/5.752, allocations: 463.4 kB / 2.961 GB, free: 109.5 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006353/5.758, allocations: 2.093 MB / 2.963 GB, free: 107.6 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 0.002729/5.761, allocations: 26.8 kB / 2.963 GB, free: 107.5 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.002585/5.764, allocations: 2.201 MB / 2.965 GB, free: 105.6 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.004373/5.768, allocations: 2.139 MB / 2.967 GB, free: 103.7 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00245/5.771, allocations: 0 / 2.967 GB, free: 103.7 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 0.0006169/5.771, allocations: 0.5248 MB / 2.968 GB, free: 103.2 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008493/5.78, allocations: 3.015 MB / 2.971 GB, free: 100.3 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009451/5.789, allocations: 3.533 MB / 2.974 GB, free: 96.84 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01107/5.8, allocations: 3.946 MB / 2.978 GB, free: 93.36 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.88e-05/5.8, allocations: 3.469 kB / 2.978 GB, free: 93.36 MB / 0.6982 GB Notification: Performance of matching and sorting (n=760) (initialization): time 0.0291/5.83, allocations: 8.48 MB / 2.987 GB, free: 85.67 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 2.846e-05/5.83, allocations: 4 kB / 2.987 GB, free: 85.67 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.377e-05/5.83, allocations: 4 kB / 2.987 GB, free: 85.66 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001339/5.831, allocations: 185.2 kB / 2.987 GB, free: 85.52 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01599/5.847, allocations: 2.028 MB / 2.989 GB, free: 84.03 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003698/5.851, allocations: 2.928 MB / 2.992 GB, free: 81.01 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01391/5.865, allocations: 0.969 MB / 2.992 GB, free: 80.23 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004737/5.87, allocations: 319 kB / 2.993 GB, free: 80.02 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.00609/5.876, allocations: 200 kB / 2.993 GB, free: 79.89 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003703/5.879, allocations: 450.4 kB / 2.993 GB, free: 79.45 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04505/5.925, allocations: 10.54 MB / 3.004 GB, free: 70.68 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001198/5.925, allocations: 72 kB / 3.004 GB, free: 70.61 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.664e-05/5.925, allocations: 4 kB / 3.004 GB, free: 70.61 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002715/5.925, allocations: 34.31 kB / 3.004 GB, free: 70.61 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05535/5.98, allocations: 18.13 MB / 3.022 GB, free: 56.02 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.333e-05/5.981, allocations: 0 / 3.022 GB, free: 56.02 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01595/5.996, allocations: 1.911 MB / 3.023 GB, free: 54.59 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00145/5.998, allocations: 183.4 kB / 3.024 GB, free: 54.44 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004332/6.002, allocations: 144.6 kB / 3.024 GB, free: 54.37 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003782/6.006, allocations: 2.968 MB / 3.027 GB, free: 51.3 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.624e-06/6.006, allocations: 0 / 3.027 GB, free: 51.3 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03075/6.037, allocations: 8.458 MB / 3.035 GB, free: 43.55 MB / 0.6982 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0314/6.068, allocations: 8.942 MB / 3.044 GB, free: 35.31 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007663/6.076, allocations: 1.832 MB / 3.045 GB, free: 33.82 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004643/6.081, allocations: 4.703 kB / 3.045 GB, free: 33.82 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01302/6.094, allocations: 0.727 MB / 3.046 GB, free: 33.3 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002581/6.097, allocations: 360.5 kB / 3.046 GB, free: 33.09 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003054/6.1, allocations: 277 kB / 3.047 GB, free: 32.89 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.005005/6.105, allocations: 1.775 MB / 3.048 GB, free: 31.28 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.01256/6.117, allocations: 1.962 MB / 3.05 GB, free: 29.32 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.00622/6.124, allocations: 1.268 MB / 3.052 GB, free: 28.44 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.02037/6.144, allocations: 7.835 MB / 3.059 GB, free: 20.6 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-05/6.144, allocations: 11.78 kB / 3.059 GB, free: 20.59 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.01099/6.155, allocations: 4.364 MB / 3.064 GB, free: 16.21 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006234/6.161, allocations: 0.562 MB / 3.064 GB, free: 15.67 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03967/6.201, allocations: 10.59 MB / 3.074 GB, free: 5.012 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0157/6.217, allocations: 4.35 MB / 3.079 GB, free: 0.6289 MB / 0.6982 GB Notification: Performance of SimCode: time 1.664e-06/6.217, allocations: 4 kB / 3.079 GB, free: 0.625 MB / 0.6982 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD600.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD600.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD600.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD600.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_Validation_BESTEST_WD600_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_Validation_BESTEST_WD600.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD600.pipe 2>&1)