Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD500.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.WD500,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_Validation_BESTEST_WD500",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.Validation.BESTEST.WD500,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_Validation_BESTEST_WD500",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.7363/0.7363, allocations: 141.8 MB / 149.1 MB, free: 4.449 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.001129/0.001129, allocations: 190.7 kB / 181.9 MB, free: 108 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.341/1.341, allocations: 221.3 MB / 436 MB, free: 9.234 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.001085/0.001085, allocations: 95.11 kB / 0.507 GB, free: 24.15 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001794/0.001794, allocations: 278.1 kB / 0.5884 GB, free: 12.27 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1941/0.1959, allocations: 89.64 MB / 0.676 GB, free: 2.562 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.417/0.6129, allocations: 82.76 MB / 0.7568 GB, free: 112.9 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.575/4.188, allocations: 1.712 GB / 2.469 GB, free: 91.76 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003808/4.189, allocations: 87.94 kB / 2.469 GB, free: 91.68 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.942/6.13, allocations: 417.1 MB / 2.876 GB, free: 137.2 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 6.631e-05/6.13, allocations: 7.75 kB / 2.876 GB, free: 137.2 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04977/6.18, allocations: 7.079 MB / 2.883 GB, free: 136.8 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0121/6.192, allocations: 3.688 MB / 2.887 GB, free: 136 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006168/6.193, allocations: 269.1 kB / 2.887 GB, free: 136 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004312/6.197, allocations: 467.9 kB / 2.888 GB, free: 136 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03008/6.228, allocations: 10.65 MB / 2.898 GB, free: 136 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03343/6.261, allocations: 8.794 MB / 2.907 GB, free: 135.5 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001907/6.261, allocations: 0 / 2.907 GB, free: 135.5 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001833/6.263, allocations: 5.156 kB / 2.907 GB, free: 135.5 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001579/6.263, allocations: 201.1 kB / 2.907 GB, free: 135.5 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07624/6.34, allocations: 31.26 MB / 2.937 GB, free: 127.5 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0158/6.355, allocations: 6.799 MB / 2.944 GB, free: 127.4 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009763/6.365, allocations: 3.787 MB / 2.948 GB, free: 126 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001646/6.367, allocations: 0.6801 MB / 2.948 GB, free: 125.5 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0109/6.378, allocations: 4.504 MB / 2.953 GB, free: 121.9 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=689): time 1.979e-05/6.378, allocations: 2.156 kB / 2.953 GB, free: 121.9 MB / 0.6982 GB Notification: Performance of matching and sorting (n=689): time 0.02383/6.402, allocations: 8.15 MB / 2.961 GB, free: 114.5 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001541/6.402, allocations: 460.1 kB / 2.961 GB, free: 113.9 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003798/6.406, allocations: 2.101 MB / 2.963 GB, free: 112 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 0.001644/6.407, allocations: 29.7 kB / 2.963 GB, free: 112 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.001873/6.409, allocations: 2.194 MB / 2.965 GB, free: 110.1 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.002575/6.412, allocations: 2.145 MB / 2.967 GB, free: 108.1 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005683/6.412, allocations: 0 / 2.967 GB, free: 108.1 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 0.0002665/6.413, allocations: 0.5234 MB / 2.968 GB, free: 107.6 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00512/6.418, allocations: 3.006 MB / 2.971 GB, free: 104.7 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005803/6.424, allocations: 3.542 MB / 2.974 GB, free: 101.3 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008837/6.432, allocations: 3.938 MB / 2.978 GB, free: 97.77 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.938e-05/6.433, allocations: 4 kB / 2.978 GB, free: 97.77 MB / 0.6982 GB Notification: Performance of matching and sorting (n=760) (initialization): time 0.01988/6.452, allocations: 8.478 MB / 2.987 GB, free: 90.09 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/6.452, allocations: 11.66 kB / 2.987 GB, free: 90.08 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.628e-05/6.453, allocations: 4 kB / 2.987 GB, free: 90.07 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001233/6.454, allocations: 188.1 kB / 2.987 GB, free: 89.93 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01557/6.469, allocations: 2.032 MB / 2.989 GB, free: 88.44 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003583/6.473, allocations: 2.918 MB / 2.992 GB, free: 85.43 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01353/6.487, allocations: 0.9806 MB / 2.992 GB, free: 84.64 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00346/6.49, allocations: 317 kB / 2.993 GB, free: 84.42 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.003495/6.494, allocations: 195.5 kB / 2.993 GB, free: 84.3 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002992/6.497, allocations: 450.2 kB / 2.993 GB, free: 83.86 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0395/6.536, allocations: 10.55 MB / 3.004 GB, free: 75.09 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.017e-05/6.536, allocations: 68 kB / 3.004 GB, free: 75.02 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.642e-05/6.536, allocations: 0 / 3.004 GB, free: 75.02 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002132/6.537, allocations: 40.05 kB / 3.004 GB, free: 75.02 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05311/6.59, allocations: 18.12 MB / 3.022 GB, free: 60.43 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-05/6.59, allocations: 0 / 3.022 GB, free: 60.43 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01554/6.605, allocations: 1.913 MB / 3.023 GB, free: 58.99 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00139/6.607, allocations: 187 kB / 3.024 GB, free: 58.85 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003983/6.611, allocations: 141.8 kB / 3.024 GB, free: 58.77 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003997/6.615, allocations: 2.972 MB / 3.027 GB, free: 55.7 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.635e-06/6.615, allocations: 0 / 3.027 GB, free: 55.7 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03335/6.648, allocations: 8.452 MB / 3.035 GB, free: 47.96 MB / 0.6982 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02644/6.675, allocations: 8.945 MB / 3.044 GB, free: 39.72 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0054/6.68, allocations: 1.833 MB / 3.045 GB, free: 38.23 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0032/6.683, allocations: 4 kB / 3.045 GB, free: 38.23 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01171/6.695, allocations: 0.7287 MB / 3.046 GB, free: 37.71 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001928/6.697, allocations: 358.1 kB / 3.046 GB, free: 37.5 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002398/6.7, allocations: 279 kB / 3.047 GB, free: 37.3 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.004794/6.704, allocations: 1.774 MB / 3.048 GB, free: 35.69 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.01231/6.717, allocations: 1.962 MB / 3.05 GB, free: 33.73 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.004783/6.721, allocations: 1.277 MB / 3.052 GB, free: 32.92 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.01985/6.741, allocations: 7.822 MB / 3.059 GB, free: 25.37 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 8.786e-06/6.741, allocations: 3.938 kB / 3.059 GB, free: 25.36 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.01103/6.752, allocations: 4.367 MB / 3.064 GB, free: 21.17 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008069/6.761, allocations: 0.5712 MB / 3.064 GB, free: 20.73 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03905/6.8, allocations: 10.58 MB / 3.074 GB, free: 10.86 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01548/6.815, allocations: 4.35 MB / 3.079 GB, free: 7.75 MB / 0.6982 GB Notification: Performance of SimCode: time 2.274e-06/6.815, allocations: 0 / 3.079 GB, free: 7.75 MB / 0.6982 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD500.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD500.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD500.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD500.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_Validation_BESTEST_WD500_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_Validation_BESTEST_WD500.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD500.pipe 2>&1)