Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.Validation.BESTEST.WD300.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.WD300,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_Validation_BESTEST_WD300",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.Validation.BESTEST.WD300,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_Validation_BESTEST_WD300",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.001319/0.001319, allocations: 188.8 kB / 7.801 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.47/0.47, allocations: 90.86 MB / 99.07 MB, free: 14.91 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.34/1.34, allocations: 221.4 MB / 342.7 MB, free: 5.129 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.0009201/0.0009199, allocations: 96.41 kB / 415.5 MB, free: 6.414 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1831/0.1841, allocations: 78.44 MB / 493.9 MB, free: 7.973 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4428/0.6269, allocations: 72.3 MB / 0.553 GB, free: 73.28 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.611/4.238, allocations: 1.705 GB / 2.258 GB, free: 105.4 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002555/4.238, allocations: 94.77 kB / 2.258 GB, free: 105.3 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.577/5.815, allocations: 417.1 MB / 2.666 GB, free: 107.7 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/5.815, allocations: 10.59 kB / 2.666 GB, free: 107.7 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04844/5.864, allocations: 7.081 MB / 2.673 GB, free: 107.2 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01106/5.875, allocations: 3.688 MB / 2.676 GB, free: 106.5 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004559/5.875, allocations: 269.6 kB / 2.676 GB, free: 106.5 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003763/5.879, allocations: 470.2 kB / 2.677 GB, free: 106.5 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02948/5.909, allocations: 10.66 MB / 2.687 GB, free: 106.4 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0364/5.945, allocations: 8.79 MB / 2.696 GB, free: 105.7 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000378/5.945, allocations: 0 / 2.696 GB, free: 105.7 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003701/5.949, allocations: 0 / 2.696 GB, free: 105.7 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001423/5.949, allocations: 205.9 kB / 2.696 GB, free: 105.5 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08516/6.034, allocations: 31.26 MB / 2.727 GB, free: 89.69 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01699/6.051, allocations: 6.802 MB / 2.733 GB, free: 83.27 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008719/6.06, allocations: 3.787 MB / 2.737 GB, free: 79.58 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001991/6.062, allocations: 0.6727 MB / 2.738 GB, free: 78.95 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01277/6.075, allocations: 4.506 MB / 2.742 GB, free: 75.33 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=689): time 1.573e-05/6.075, allocations: 0 / 2.742 GB, free: 75.33 MB / 0.6042 GB Notification: Performance of matching and sorting (n=689): time 0.0315/6.107, allocations: 8.153 MB / 2.75 GB, free: 67.91 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001745/6.107, allocations: 463.6 kB / 2.75 GB, free: 67.37 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005471/6.112, allocations: 2.087 MB / 2.752 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.002734/6.115, allocations: 33.7 kB / 2.752 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.002377/6.118, allocations: 2.191 MB / 2.755 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.004468/6.122, allocations: 2.15 MB / 2.757 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00249/6.125, allocations: 0 / 2.757 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0006449/6.125, allocations: 0.5229 MB / 2.757 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009361/6.135, allocations: 3.011 MB / 2.76 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009263/6.144, allocations: 3.539 MB / 2.764 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01201/6.156, allocations: 3.945 MB / 2.767 GB, free: 51.19 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-05/6.156, allocations: 4 kB / 2.767 GB, free: 51.18 MB / 0.6042 GB Notification: Performance of matching and sorting (n=760) (initialization): time 0.02925/6.185, allocations: 8.471 MB / 2.776 GB, free: 42.95 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/6.185, allocations: 8 kB / 2.776 GB, free: 42.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.992e-05/6.185, allocations: 4 kB / 2.776 GB, free: 42.94 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001258/6.187, allocations: 185.8 kB / 2.776 GB, free: 42.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01577/6.202, allocations: 2.028 MB / 2.778 GB, free: 40.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003746/6.206, allocations: 2.927 MB / 2.781 GB, free: 37.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01334/6.22, allocations: 0.9785 MB / 2.782 GB, free: 36.66 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003401/6.223, allocations: 315.6 kB / 2.782 GB, free: 36.36 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.005118/6.228, allocations: 193.5 kB / 2.782 GB, free: 36.23 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003775/6.232, allocations: 450.4 kB / 2.783 GB, free: 35.79 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04354/6.276, allocations: 10.54 MB / 2.793 GB, free: 25.3 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.674e-05/6.276, allocations: 68 kB / 2.793 GB, free: 25.24 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-05/6.276, allocations: 0 / 2.793 GB, free: 25.24 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002397/6.276, allocations: 35.86 kB / 2.793 GB, free: 25.2 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04921/6.325, allocations: 18.12 MB / 2.811 GB, free: 7.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-05/6.325, allocations: 0 / 2.811 GB, free: 7.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0151/6.34, allocations: 1.908 MB / 2.813 GB, free: 5.18 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001241/6.342, allocations: 187.9 kB / 2.813 GB, free: 4.992 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00306/6.345, allocations: 143.7 kB / 2.813 GB, free: 4.852 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003439/6.348, allocations: 2.966 MB / 2.816 GB, free: 1.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/6.348, allocations: 4.062 kB / 2.816 GB, free: 1.656 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03254/6.381, allocations: 8.464 MB / 2.824 GB, free: 9.09 MB / 0.6198 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03295/6.414, allocations: 8.939 MB / 2.833 GB, free: 60 kB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.5261/6.94, allocations: 1.827 MB / 2.835 GB, free: 159.4 MB / 0.6199 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002926/6.943, allocations: 6.406 kB / 2.835 GB, free: 159.4 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01133/6.954, allocations: 0.7268 MB / 2.835 GB, free: 159.4 MB / 0.6199 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001276/6.956, allocations: 367.9 kB / 2.836 GB, free: 159.4 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001135/6.957, allocations: 275.3 kB / 2.836 GB, free: 159.4 MB / 0.6199 GB Notification: Performance of sort global known variables: time 0.003351/6.96, allocations: 1.774 MB / 2.838 GB, free: 159.3 MB / 0.6199 GB Notification: Performance of remove unused functions: time 0.008826/6.969, allocations: 1.958 MB / 2.839 GB, free: 159.3 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.003172/6.972, allocations: 1.28 MB / 2.841 GB, free: 159.1 MB / 0.6199 GB Notification: Performance of simCode: created initialization part: time 0.01575/6.988, allocations: 7.819 MB / 2.848 GB, free: 158.8 MB / 0.6199 GB Notification: Performance of simCode: created event and clocks part: time 1.093e-05/6.988, allocations: 0 / 2.848 GB, free: 158.8 MB / 0.6199 GB Notification: Performance of simCode: created simulation system equations: time 0.008577/6.997, allocations: 4.364 MB / 2.853 GB, free: 158.6 MB / 0.6199 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006065/7.003, allocations: 0.564 MB / 2.853 GB, free: 158.6 MB / 0.6199 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03897/7.042, allocations: 10.58 MB / 2.864 GB, free: 156.4 MB / 0.6199 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01578/7.058, allocations: 4.349 MB / 2.868 GB, free: 155.6 MB / 0.6199 GB Notification: Performance of SimCode: time 1.573e-06/7.058, allocations: 3.094 kB / 2.868 GB, free: 155.6 MB / 0.6199 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.Validation.BESTEST.WD300.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.Validation.BESTEST.WD300.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.Validation.BESTEST.WD300.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.Validation.BESTEST.WD300.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_Validation_BESTEST_WD300_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_Validation_BESTEST_WD300.fmu > IBPSA_latest_IBPSA.BoundaryConditions.Validation.BESTEST.WD300.pipe 2>&1)