Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.Validation.BESTEST.WD500.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.BoundaryConditions.Validation.BESTEST.WD500,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_Validation_BESTEST_WD500",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.Validation.BESTEST.WD500,fileNamePrefix="IBPSA_latest_IBPSA_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/Complex 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 187.9 kB / 7.802 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4573/0.4573, allocations: 90.85 MB / 99.08 MB, free: 14.95 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 221.4 MB / 342.8 MB, free: 5.309 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000916/0.0009161, allocations: 92.69 kB / 415.5 MB, free: 9.848 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1799/0.1809, allocations: 78.45 MB / 494 MB, free: 11.48 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.409/0.5899, allocations: 72.3 MB / 0.553 GB, free: 44.75 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.547/4.137, allocations: 1.705 GB / 2.258 GB, free: 105.3 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002171/4.137, allocations: 83.95 kB / 2.258 GB, free: 105.2 MB / 0.6042 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.638/5.775, allocations: 417.1 MB / 2.666 GB, free: 109.5 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/5.775, allocations: 9.75 kB / 2.666 GB, free: 109.5 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04746/5.823, allocations: 7.077 MB / 2.673 GB, free: 109.1 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009759/5.832, allocations: 3.688 MB / 2.676 GB, free: 108.3 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006562/5.833, allocations: 269.7 kB / 2.676 GB, free: 108.3 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003682/5.837, allocations: 474.3 kB / 2.677 GB, free: 108.3 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02613/5.863, allocations: 10.65 MB / 2.687 GB, free: 108.3 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02748/5.89, allocations: 8.79 MB / 2.696 GB, free: 104.6 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001504/5.891, allocations: 10.84 kB / 2.696 GB, free: 104.6 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009985/5.892, allocations: 0 / 2.696 GB, free: 104.6 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001298/5.892, allocations: 204 kB / 2.696 GB, free: 104.4 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0666/5.958, allocations: 31.25 MB / 2.727 GB, free: 88.53 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01305/5.971, allocations: 6.811 MB / 2.733 GB, free: 82.11 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00685/5.978, allocations: 3.782 MB / 2.737 GB, free: 78.42 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001309/5.98, allocations: 0.6827 MB / 2.738 GB, free: 77.78 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008136/5.988, allocations: 4.5 MB / 2.742 GB, free: 74.16 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=689): time 8.987e-06/5.988, allocations: 0 / 2.742 GB, free: 74.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=689): time 0.01937/6.007, allocations: 8.157 MB / 2.75 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001277/6.007, allocations: 463.1 kB / 2.75 GB, free: 66.2 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003568/6.011, allocations: 2.093 MB / 2.752 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.001631/6.013, allocations: 30.45 kB / 2.752 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.002078/6.015, allocations: 2.192 MB / 2.755 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.003789/6.018, allocations: 2.144 MB / 2.757 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006556/6.019, allocations: 0 / 2.757 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0003293/6.019, allocations: 0.5165 MB / 2.757 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005284/6.025, allocations: 3.014 MB / 2.76 GB, free: 56.99 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005771/6.031, allocations: 3.534 MB / 2.764 GB, free: 53.54 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009201/6.04, allocations: 3.946 MB / 2.767 GB, free: 50.03 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.477e-05/6.04, allocations: 7.906 kB / 2.767 GB, free: 50.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=760) (initialization): time 0.02309/6.063, allocations: 8.471 MB / 2.776 GB, free: 41.71 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/6.063, allocations: 8.094 kB / 2.776 GB, free: 41.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.725e-05/6.063, allocations: 4 kB / 2.776 GB, free: 41.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001228/6.064, allocations: 191.3 kB / 2.776 GB, free: 41.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01482/6.079, allocations: 2.022 MB / 2.778 GB, free: 39.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003565/6.083, allocations: 2.929 MB / 2.781 GB, free: 36.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01281/6.095, allocations: 0.9749 MB / 2.782 GB, free: 35.42 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003446/6.099, allocations: 307.6 kB / 2.782 GB, free: 35.12 MB / 0.6042 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.005198/6.104, allocations: 208.3 kB / 2.782 GB, free: 34.98 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003379/6.108, allocations: 446.4 kB / 2.783 GB, free: 34.54 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03248/6.14, allocations: 10.54 MB / 2.793 GB, free: 24.06 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-05/6.14, allocations: 68 kB / 2.793 GB, free: 24 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-05/6.14, allocations: 4 kB / 2.793 GB, free: 23.99 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.956e-05/6.14, allocations: 31.88 kB / 2.793 GB, free: 23.96 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03617/6.176, allocations: 18.13 MB / 2.811 GB, free: 5.848 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-05/6.177, allocations: 0 / 2.811 GB, free: 5.848 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01348/6.19, allocations: 1.908 MB / 2.813 GB, free: 3.938 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00117/6.191, allocations: 181.5 kB / 2.813 GB, free: 3.754 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001895/6.193, allocations: 147.7 kB / 2.813 GB, free: 3.609 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00318/6.196, allocations: 2.964 MB / 2.816 GB, free: 432 kB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/6.196, allocations: 4 kB / 2.816 GB, free: 428 kB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02376/6.22, allocations: 8.471 MB / 2.824 GB, free: 7.848 MB / 0.6198 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.5061/6.726, allocations: 8.929 MB / 2.833 GB, free: 154.5 MB / 0.6199 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006157/6.732, allocations: 1.835 MB / 2.835 GB, free: 154.4 MB / 0.6199 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003409/6.736, allocations: 3.375 kB / 2.835 GB, free: 154.4 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01216/6.748, allocations: 0.7225 MB / 2.835 GB, free: 154.4 MB / 0.6199 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002199/6.75, allocations: 366.5 kB / 2.836 GB, free: 154.4 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001887/6.752, allocations: 275.7 kB / 2.836 GB, free: 154.4 MB / 0.6199 GB Notification: Performance of sort global known variables: time 0.003705/6.756, allocations: 1.781 MB / 2.838 GB, free: 154.2 MB / 0.6199 GB Notification: Performance of remove unused functions: time 0.01102/6.767, allocations: 1.96 MB / 2.84 GB, free: 154.2 MB / 0.6199 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.004778/6.772, allocations: 1.275 MB / 2.841 GB, free: 154.1 MB / 0.6199 GB Notification: Performance of simCode: created initialization part: time 0.02053/6.792, allocations: 7.829 MB / 2.848 GB, free: 153.8 MB / 0.6199 GB Notification: Performance of simCode: created event and clocks part: time 9.398e-06/6.792, allocations: 0 / 2.848 GB, free: 153.8 MB / 0.6199 GB Notification: Performance of simCode: created simulation system equations: time 0.01266/6.805, allocations: 4.359 MB / 2.853 GB, free: 153.6 MB / 0.6199 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007039/6.812, allocations: 0.5623 MB / 2.853 GB, free: 153.6 MB / 0.6199 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03911/6.851, allocations: 10.59 MB / 2.864 GB, free: 151.4 MB / 0.6199 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01184/6.863, allocations: 4.347 MB / 2.868 GB, free: 150.6 MB / 0.6199 GB Notification: Performance of SimCode: time 1.603e-06/6.863, allocations: 0 / 2.868 GB, free: 150.6 MB / 0.6199 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.Validation.BESTEST.WD500.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.Validation.BESTEST.WD500.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.Validation.BESTEST.WD500.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.Validation.BESTEST.WD500.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_Validation_BESTEST_WD500_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_Validation_BESTEST_WD500.fmu > IBPSA_latest_IBPSA.BoundaryConditions.Validation.BESTEST.WD500.pipe 2>&1)