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: "" <> buildModelFMU(BuildingSystems.BoundaryConditions.Validation.BESTEST.WD100,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_Validation_BESTEST_WD100",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.Validation.BESTEST.WD100,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_Validation_BESTEST_WD100",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.7458/0.7458, allocations: 141.8 MB / 149.1 MB, free: 4.48 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.001016/0.001016, allocations: 188.4 kB / 181.9 MB, free: 148 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.382/1.382, allocations: 221.3 MB / 436 MB, free: 9.277 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.001067/0.001067, allocations: 99.42 kB / 0.507 GB, free: 24.29 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001968/0.001968, allocations: 276.8 kB / 0.5884 GB, free: 12.31 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.2141/0.2162, allocations: 89.64 MB / 0.676 GB, free: 2.582 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5067/0.7229, allocations: 82.77 MB / 0.7568 GB, free: 112.9 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.894/4.617, allocations: 1.712 GB / 2.469 GB, free: 85.37 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002775/4.617, allocations: 96.48 kB / 2.469 GB, free: 85.28 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.675/6.292, allocations: 370.9 MB / 2.831 GB, free: 193.1 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/6.292, allocations: 11.44 kB / 2.831 GB, free: 193.1 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04928/6.341, allocations: 7.083 MB / 2.838 GB, free: 192.7 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01316/6.355, allocations: 3.687 MB / 2.842 GB, free: 192.3 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005976/6.355, allocations: 265.6 kB / 2.842 GB, free: 192.3 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004883/6.36, allocations: 472.5 kB / 2.842 GB, free: 192.3 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03198/6.392, allocations: 10.65 MB / 2.853 GB, free: 192.3 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04002/6.432, allocations: 8.794 MB / 2.861 GB, free: 191.8 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004594/6.433, allocations: 4.5 kB / 2.861 GB, free: 191.8 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004922/6.438, allocations: 3.344 kB / 2.861 GB, free: 191.8 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001956/6.438, allocations: 205.3 kB / 2.862 GB, free: 191.8 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09748/6.535, allocations: 31.26 MB / 2.892 GB, free: 184.2 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02218/6.558, allocations: 6.796 MB / 2.899 GB, free: 184 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01108/6.569, allocations: 3.784 MB / 2.902 GB, free: 184 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002305/6.571, allocations: 0.6789 MB / 2.903 GB, free: 183.5 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0177/6.589, allocations: 4.506 MB / 2.908 GB, free: 183.3 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=689): time 5.892e-05/6.589, allocations: 3.844 kB / 2.908 GB, free: 183.3 MB / 0.6982 GB Notification: Performance of matching and sorting (n=689): time 0.04004/6.629, allocations: 8.148 MB / 2.915 GB, free: 181.4 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002425/6.629, allocations: 464.4 kB / 2.916 GB, free: 180.9 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006686/6.636, allocations: 2.096 MB / 2.918 GB, free: 180 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 0.003191/6.639, allocations: 29.17 kB / 2.918 GB, free: 180 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.003559/6.643, allocations: 2.194 MB / 2.92 GB, free: 178.4 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0053/6.648, allocations: 2.149 MB / 2.922 GB, free: 176.7 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002455/6.651, allocations: 0 / 2.922 GB, free: 176.7 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 0.0005842/6.651, allocations: 0.5202 MB / 2.923 GB, free: 176.3 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008474/6.66, allocations: 3.015 MB / 2.926 GB, free: 174.8 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009672/6.669, allocations: 3.535 MB / 2.929 GB, free: 172.9 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01238/6.682, allocations: 3.946 MB / 2.933 GB, free: 171.3 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.742e-05/6.682, allocations: 0 / 2.933 GB, free: 171.3 MB / 0.6982 GB Notification: Performance of matching and sorting (n=760) (initialization): time 0.03447/6.717, allocations: 8.477 MB / 2.941 GB, free: 168 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 3.217e-05/6.717, allocations: 3.969 kB / 2.941 GB, free: 168 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.799e-05/6.717, allocations: 10.56 kB / 2.941 GB, free: 168 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001297/6.718, allocations: 184.6 kB / 2.941 GB, free: 167.9 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01769/6.736, allocations: 2.027 MB / 2.943 GB, free: 167.8 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003732/6.739, allocations: 2.924 MB / 2.946 GB, free: 165.2 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01424/6.754, allocations: 0.9776 MB / 2.947 GB, free: 164.9 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003641/6.757, allocations: 314 kB / 2.948 GB, free: 164.9 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.005278/6.763, allocations: 204 kB / 2.948 GB, free: 164.7 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003554/6.766, allocations: 444.3 kB / 2.948 GB, free: 164.4 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04597/6.812, allocations: 10.53 MB / 2.958 GB, free: 160.4 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.928e-05/6.812, allocations: 75.38 kB / 2.959 GB, free: 160.4 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.733e-05/6.813, allocations: 3.625 kB / 2.959 GB, free: 160.4 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002343/6.813, allocations: 39.88 kB / 2.959 GB, free: 160.4 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05782/6.871, allocations: 18.11 MB / 2.976 GB, free: 152.1 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.015e-05/6.871, allocations: 3.047 kB / 2.976 GB, free: 152.1 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01634/6.887, allocations: 1.913 MB / 2.978 GB, free: 150.8 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001316/6.888, allocations: 183 kB / 2.978 GB, free: 150.7 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003287/6.892, allocations: 147.1 kB / 2.978 GB, free: 150.6 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003722/6.895, allocations: 2.959 MB / 2.981 GB, free: 147.5 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.544e-06/6.896, allocations: 11.91 kB / 2.981 GB, free: 147.5 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04219/6.938, allocations: 8.459 MB / 2.99 GB, free: 139.8 MB / 0.6982 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.05182/6.99, allocations: 8.939 MB / 2.998 GB, free: 131.5 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008913/6.999, allocations: 1.839 MB / 3 GB, free: 130 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004888/7.004, allocations: 7.188 kB / 3 GB, free: 130 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01377/7.017, allocations: 0.7283 MB / 3.001 GB, free: 129.5 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002612/7.02, allocations: 361.4 kB / 3.001 GB, free: 129.3 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003295/7.023, allocations: 272.5 kB / 3.001 GB, free: 129.1 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.004905/7.028, allocations: 1.78 MB / 3.003 GB, free: 127.5 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.01297/7.041, allocations: 1.959 MB / 3.005 GB, free: 125.6 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.005036/7.046, allocations: 1.275 MB / 3.006 GB, free: 124.8 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.01946/7.066, allocations: 7.824 MB / 3.014 GB, free: 117.2 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 8.867e-06/7.066, allocations: 0.625 kB / 3.014 GB, free: 117.2 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.01048/7.076, allocations: 4.364 MB / 3.018 GB, free: 113 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00626/7.083, allocations: 0.5626 MB / 3.019 GB, free: 112.6 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03849/7.121, allocations: 10.58 MB / 3.029 GB, free: 102.7 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01135/7.133, allocations: 4.356 MB / 3.033 GB, free: 99.6 MB / 0.6982 GB Notification: Performance of SimCode: time 1.152e-06/7.133, allocations: 0 / 3.033 GB, free: 99.6 MB / 0.6982 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_Validation_BESTEST_WD100_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_Validation_BESTEST_WD100.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD100.pipe 2>&1)