Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.Validation.BESTEST.WD500.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.Validation.BESTEST.WD500,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_Validation_BESTEST_WD500",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.Validation.BESTEST.WD500,fileNamePrefix="Buildings_maint_8_0_x_Buildings_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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.308/1.308, allocations: 285.5 MB / 292.8 MB, free: 10.43 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009482/0.0009482, allocations: 181.3 kB / 361.1 MB, free: 7.086 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.007/1.007, allocations: 205.1 MB / 0.6195 GB, free: 10.28 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007309/0.0007309, allocations: 92.34 kB / 0.7326 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.179/0.1797, allocations: 121.4 MB / 0.8511 GB, free: 2.863 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4184/0.5981, allocations: 115.3 MB / 0.9638 GB, free: 78.34 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.716/3.314, allocations: 2.094 GB / 3.058 GB, free: 12.21 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002172/3.314, allocations: 91.69 kB / 3.058 GB, free: 12.12 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1967 * Number of variables: 1967 Notification: Performance of Generate backend data structure: time 1.07/4.385, allocations: 395.2 MB / 3.444 GB, free: 7.82 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/4.385, allocations: 8.5 kB / 3.444 GB, free: 7.812 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04068/4.425, allocations: 6.766 MB / 3.45 GB, free: 1.027 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2505/4.676, allocations: 3.617 MB / 3.454 GB, free: 305.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001673/4.676, allocations: 253.6 kB / 3.454 GB, free: 305.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00105/4.677, allocations: 432.4 kB / 3.454 GB, free: 305.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01698/4.694, allocations: 10.18 MB / 3.464 GB, free: 305.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01268/4.707, allocations: 8.272 MB / 3.472 GB, free: 304.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001319/4.707, allocations: 5.812 kB / 3.472 GB, free: 304.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007588/4.708, allocations: 3.781 kB / 3.472 GB, free: 304.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001085/4.708, allocations: 185.1 kB / 3.473 GB, free: 304.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04983/4.758, allocations: 26.6 MB / 3.499 GB, free: 299.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01208/4.77, allocations: 6.781 MB / 3.505 GB, free: 299.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006069/4.776, allocations: 3.689 MB / 3.509 GB, free: 299.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001238/4.777, allocations: 0.6748 MB / 3.51 GB, free: 299.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007656/4.785, allocations: 4.385 MB / 3.514 GB, free: 299 MB / 0.948 GB Notification: Performance of pre-optimization done (n=677): time 1.023e-05/4.785, allocations: 3.844 kB / 3.514 GB, free: 299 MB / 0.948 GB Notification: Performance of matching and sorting (n=677): time 0.018/4.803, allocations: 7.878 MB / 3.522 GB, free: 298.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00011/4.803, allocations: 460 kB / 3.522 GB, free: 298 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00466/4.808, allocations: 2.311 MB / 3.524 GB, free: 297.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.000888/4.808, allocations: 26.95 kB / 3.524 GB, free: 297.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001578/4.81, allocations: 2.029 MB / 3.526 GB, free: 296.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001864/4.812, allocations: 2.105 MB / 3.528 GB, free: 295.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008059/4.813, allocations: 1.906 kB / 3.528 GB, free: 295.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002494/4.813, allocations: 0.521 MB / 3.529 GB, free: 295.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004944/4.818, allocations: 2.938 MB / 3.532 GB, free: 295.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005327/4.823, allocations: 3.475 MB / 3.535 GB, free: 294.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007925/4.831, allocations: 3.764 MB / 3.539 GB, free: 293.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.628e-05/4.831, allocations: 1.906 kB / 3.539 GB, free: 293.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=750) (initialization): time 0.01834/4.85, allocations: 8.23 MB / 3.547 GB, free: 290.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/4.85, allocations: 9.156 kB / 3.547 GB, free: 290.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.261e-05/4.85, allocations: 7 kB / 3.547 GB, free: 290.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001176/4.851, allocations: 187.1 kB / 3.547 GB, free: 290.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01222/4.863, allocations: 1.946 MB / 3.549 GB, free: 290.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003196/4.866, allocations: 2.937 MB / 3.552 GB, free: 287.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009356/4.876, allocations: 0.907 MB / 3.553 GB, free: 287.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001109/4.877, allocations: 303.5 kB / 3.553 GB, free: 287.2 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (746): * Single equations (assignments): 744 * 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.001729/4.879, allocations: 204.7 kB / 3.553 GB, free: 287.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001523/4.88, allocations: 463.8 kB / 3.554 GB, free: 286.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02591/4.906, allocations: 10.21 MB / 3.564 GB, free: 283.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.983e-05/4.906, allocations: 68.25 kB / 3.564 GB, free: 283.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-05/4.906, allocations: 3.938 kB / 3.564 GB, free: 283.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.447e-05/4.906, allocations: 33.98 kB / 3.564 GB, free: 283.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03275/4.939, allocations: 17.59 MB / 3.581 GB, free: 275.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.219e-05/4.939, allocations: 4.359 kB / 3.581 GB, free: 275.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01254/4.952, allocations: 1.831 MB / 3.583 GB, free: 275.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00119/4.953, allocations: 186 kB / 3.583 GB, free: 275.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002029/4.955, allocations: 140.9 kB / 3.583 GB, free: 275.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003099/4.958, allocations: 2.967 MB / 3.586 GB, free: 272.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/4.958, allocations: 1.125 kB / 3.586 GB, free: 272.4 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02224/4.98, allocations: 8.199 MB / 3.594 GB, free: 269 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01933/5, allocations: 8.675 MB / 3.602 GB, free: 265.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003838/5.003, allocations: 1.826 MB / 3.604 GB, free: 264 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002328/5.006, allocations: 9.281 kB / 3.604 GB, free: 264 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009791/5.016, allocations: 0.6641 MB / 3.605 GB, free: 264 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001145/5.017, allocations: 359.9 kB / 3.605 GB, free: 264 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001369/5.018, allocations: 270.1 kB / 3.605 GB, free: 263.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.004111/5.022, allocations: 1.93 MB / 3.607 GB, free: 263.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.007937/5.03, allocations: 1.847 MB / 3.609 GB, free: 262.6 MB / 0.948 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 (718): * Single equations (assignments): 712 * 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.002869/5.033, allocations: 1.222 MB / 3.61 GB, free: 262.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01381/5.047, allocations: 7.656 MB / 3.618 GB, free: 256.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/5.047, allocations: 4 kB / 3.618 GB, free: 256.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.006891/5.054, allocations: 4.267 MB / 3.622 GB, free: 252.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003935/5.058, allocations: 0.5701 MB / 3.622 GB, free: 252.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02306/5.081, allocations: 10.18 MB / 3.632 GB, free: 242.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007712/5.089, allocations: 4.192 MB / 3.636 GB, free: 239.9 MB / 0.948 GB Notification: Performance of SimCode: time 6.41e-07/5.089, allocations: 0 / 3.636 GB, free: 239.9 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.Validation.BESTEST.WD500.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.Validation.BESTEST.WD500.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.Validation.BESTEST.WD500.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.Validation.BESTEST.WD500.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_BoundaryConditions_Validation_BESTEST_WD500_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_BoundaryConditions_Validation_BESTEST_WD500.fmu > Buildings_maint.8.0.x_Buildings.BoundaryConditions.Validation.BESTEST.WD500.pipe 2>&1)