Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD400.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.WD400,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_Validation_BESTEST_WD400",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.Validation.BESTEST.WD400,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_Validation_BESTEST_WD400",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.7632/0.7632, allocations: 141.8 MB / 149.1 MB, free: 9.207 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 188.9 kB / 181.9 MB, free: 6.297 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.351/1.351, allocations: 221.4 MB / 436 MB, free: 14.19 MB / 346.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000965/0.000965, allocations: 99.33 kB / 0.507 GB, free: 7.473 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001737/0.001738, allocations: 278.3 kB / 0.5884 GB, free: 4.277 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 0.4316/0.4333, allocations: 89.63 MB / 0.676 GB, free: 165.8 MB / 0.5419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1674/0.6008, allocations: 82.78 MB / 0.7568 GB, free: 112.6 MB / 0.5419 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.694/4.295, allocations: 1.712 GB / 2.469 GB, free: 87.41 MB / 0.7138 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000267/4.296, allocations: 92.66 kB / 2.469 GB, free: 87.32 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 1.967/6.263, allocations: 417.2 MB / 2.876 GB, free: 141.4 MB / 0.7138 GB Notification: Performance of prepare preOptimizeDAE: time 5.908e-05/6.263, allocations: 11.81 kB / 2.876 GB, free: 141.4 MB / 0.7138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04689/6.31, allocations: 7.077 MB / 2.883 GB, free: 141 MB / 0.7138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01386/6.324, allocations: 3.686 MB / 2.887 GB, free: 140.2 MB / 0.7138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006555/6.324, allocations: 270 kB / 2.887 GB, free: 140.2 MB / 0.7138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004687/6.329, allocations: 469.6 kB / 2.888 GB, free: 140.2 MB / 0.7138 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0359/6.365, allocations: 10.65 MB / 2.898 GB, free: 140.2 MB / 0.7138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03684/6.402, allocations: 8.792 MB / 2.907 GB, free: 139.7 MB / 0.7138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004628/6.402, allocations: 4.594 kB / 2.907 GB, free: 139.7 MB / 0.7138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004498/6.407, allocations: 3.375 kB / 2.907 GB, free: 139.7 MB / 0.7138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002495/6.407, allocations: 200.4 kB / 2.907 GB, free: 139.7 MB / 0.7138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09481/6.502, allocations: 31.25 MB / 2.937 GB, free: 131.7 MB / 0.7138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02158/6.523, allocations: 6.81 MB / 2.944 GB, free: 131.6 MB / 0.7138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0102/6.534, allocations: 3.781 MB / 2.948 GB, free: 131.5 MB / 0.7138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00187/6.536, allocations: 0.6741 MB / 2.948 GB, free: 131.1 MB / 0.7138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0133/6.549, allocations: 4.51 MB / 2.953 GB, free: 130.1 MB / 0.7138 GB Notification: Performance of pre-optimization done (n=689): time 3.973e-05/6.549, allocations: 3.938 kB / 2.953 GB, free: 130.1 MB / 0.7138 GB Notification: Performance of matching and sorting (n=689): time 0.03201/6.581, allocations: 8.15 MB / 2.961 GB, free: 125.1 MB / 0.7138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001761/6.581, allocations: 463 kB / 2.961 GB, free: 124.5 MB / 0.7138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005495/6.587, allocations: 2.098 MB / 2.963 GB, free: 122.6 MB / 0.7138 GB Notification: Performance of collectPreVariables (initialization): time 0.002523/6.589, allocations: 29.7 kB / 2.963 GB, free: 122.6 MB / 0.7138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002409/6.592, allocations: 2.191 MB / 2.965 GB, free: 120.7 MB / 0.7138 GB Notification: Performance of collectInitialBindings (initialization): time 0.004562/6.596, allocations: 2.148 MB / 2.967 GB, free: 118.7 MB / 0.7138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002328/6.599, allocations: 0 / 2.967 GB, free: 118.7 MB / 0.7138 GB Notification: Performance of setup shared object (initialization): time 0.000631/6.599, allocations: 0.5225 MB / 2.968 GB, free: 118.2 MB / 0.7138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008146/6.607, allocations: 3.004 MB / 2.971 GB, free: 115.3 MB / 0.7138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008672/6.616, allocations: 3.538 MB / 2.974 GB, free: 111.9 MB / 0.7138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01196/6.628, allocations: 3.938 MB / 2.978 GB, free: 108.4 MB / 0.7138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.439e-05/6.628, allocations: 4 kB / 2.978 GB, free: 108.3 MB / 0.7138 GB Notification: Performance of matching and sorting (n=760) (initialization): time 0.03324/6.662, allocations: 8.477 MB / 2.987 GB, free: 100.7 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 3.5e-05/6.662, allocations: 4 kB / 2.987 GB, free: 100.7 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.023e-05/6.662, allocations: 8 kB / 2.987 GB, free: 100.6 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001312/6.663, allocations: 188.2 kB / 2.987 GB, free: 100.5 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01482/6.678, allocations: 2.028 MB / 2.989 GB, free: 99.02 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003527/6.681, allocations: 2.924 MB / 2.992 GB, free: 96.01 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01261/6.694, allocations: 0.9758 MB / 2.992 GB, free: 95.23 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003038/6.697, allocations: 315.8 kB / 2.993 GB, free: 95.01 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.005411/6.703, allocations: 197.1 kB / 2.993 GB, free: 94.88 MB / 0.7138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004782/6.707, allocations: 442.5 kB / 2.993 GB, free: 94.45 MB / 0.7138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.041/6.748, allocations: 10.55 MB / 3.004 GB, free: 85.67 MB / 0.7138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.365e-05/6.749, allocations: 68 kB / 3.004 GB, free: 85.6 MB / 0.7138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.853e-05/6.749, allocations: 2.375 kB / 3.004 GB, free: 85.6 MB / 0.7138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002439/6.749, allocations: 34.03 kB / 3.004 GB, free: 85.6 MB / 0.7138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05304/6.802, allocations: 18.13 MB / 3.022 GB, free: 71.01 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.536e-05/6.802, allocations: 0 / 3.022 GB, free: 71.01 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01483/6.817, allocations: 1.911 MB / 3.023 GB, free: 69.57 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001214/6.818, allocations: 187.4 kB / 3.024 GB, free: 69.43 MB / 0.7138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002808/6.821, allocations: 145.3 kB / 3.024 GB, free: 69.35 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003285/6.824, allocations: 2.959 MB / 3.027 GB, free: 66.29 MB / 0.7138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/6.824, allocations: 4 kB / 3.027 GB, free: 66.29 MB / 0.7138 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02906/6.853, allocations: 8.463 MB / 3.035 GB, free: 58.53 MB / 0.7138 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02629/6.88, allocations: 8.935 MB / 3.044 GB, free: 50.3 MB / 0.7138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005378/6.885, allocations: 1.834 MB / 3.045 GB, free: 48.81 MB / 0.7138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003238/6.888, allocations: 2.938 kB / 3.045 GB, free: 48.81 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01152/6.9, allocations: 0.7319 MB / 3.046 GB, free: 48.29 MB / 0.7138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001823/6.902, allocations: 361.8 kB / 3.046 GB, free: 48.08 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002227/6.904, allocations: 279.7 kB / 3.047 GB, free: 47.88 MB / 0.7138 GB Notification: Performance of sort global known variables: time 0.004532/6.909, allocations: 1.778 MB / 3.048 GB, free: 46.26 MB / 0.7138 GB Notification: Performance of remove unused functions: time 0.01215/6.921, allocations: 1.951 MB / 3.05 GB, free: 44.32 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.004893/6.926, allocations: 1.284 MB / 3.052 GB, free: 43.51 MB / 0.7138 GB Notification: Performance of simCode: created initialization part: time 0.01985/6.946, allocations: 7.822 MB / 3.059 GB, free: 35.98 MB / 0.7138 GB Notification: Performance of simCode: created event and clocks part: time 1.066e-05/6.946, allocations: 7.797 kB / 3.059 GB, free: 35.97 MB / 0.7138 GB Notification: Performance of simCode: created simulation system equations: time 0.01084/6.957, allocations: 4.374 MB / 3.064 GB, free: 31.78 MB / 0.7138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006306/6.963, allocations: 0.5658 MB / 3.064 GB, free: 31.34 MB / 0.7138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0419/7.005, allocations: 10.57 MB / 3.074 GB, free: 21.47 MB / 0.7138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0129/7.018, allocations: 4.354 MB / 3.079 GB, free: 18.36 MB / 0.7138 GB Notification: Performance of SimCode: time 1.643e-06/7.018, allocations: 0 / 3.079 GB, free: 18.36 MB / 0.7138 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD400.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD400.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD400.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD400.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_Validation_BESTEST_WD400_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_Validation_BESTEST_WD400.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.Validation.BESTEST.WD400.pipe 2>&1)