Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.Validation.BESTEST.WD400.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.WD400,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_Validation_BESTEST_WD400",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.Validation.BESTEST.WD400,fileNamePrefix="IBPSA_latest_IBPSA_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/Complex 4.0.0+maint.om/package.mo): time 0.001525/0.001525, allocations: 187.3 kB / 7.806 MB, free: 132 kB / 6.207 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.07 MB, free: 3.48 MB / 78.07 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.289/1.289, allocations: 221.4 MB / 342.8 MB, free: 10.17 MB / 286.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.001011, allocations: 97.41 kB / 415.5 MB, free: 13.95 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.1801/0.1812, allocations: 78.44 MB / 494 MB, free: 15.51 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4151/0.5962, allocations: 72.3 MB / 0.553 GB, free: 46.22 MB / 414.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.686/4.283, allocations: 1.705 GB / 2.258 GB, free: 111 MB / 0.6075 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002966/4.283, allocations: 87.95 kB / 2.258 GB, free: 110.9 MB / 0.6075 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.63/5.913, allocations: 417.1 MB / 2.666 GB, free: 111.8 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/5.913, allocations: 15.86 kB / 2.666 GB, free: 111.8 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05041/5.964, allocations: 7.073 MB / 2.673 GB, free: 111.4 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01081/5.975, allocations: 3.685 MB / 2.676 GB, free: 110.6 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004323/5.975, allocations: 271.4 kB / 2.676 GB, free: 110.6 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00363/5.979, allocations: 469.5 kB / 2.677 GB, free: 110.6 MB / 0.6075 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02744/6.006, allocations: 10.65 MB / 2.687 GB, free: 110.6 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02707/6.033, allocations: 8.787 MB / 2.696 GB, free: 110.1 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001487/6.033, allocations: 1.5 kB / 2.696 GB, free: 110.1 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001038/6.034, allocations: 5.953 kB / 2.696 GB, free: 110.1 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001486/6.035, allocations: 201.5 kB / 2.696 GB, free: 110.1 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0713/6.106, allocations: 31.26 MB / 2.727 GB, free: 96.35 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01377/6.12, allocations: 6.796 MB / 2.733 GB, free: 89.93 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006798/6.127, allocations: 3.785 MB / 2.737 GB, free: 86.24 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001282/6.128, allocations: 0.6804 MB / 2.738 GB, free: 85.6 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008431/6.136, allocations: 4.509 MB / 2.742 GB, free: 81.98 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=689): time 9.247e-06/6.136, allocations: 0 / 2.742 GB, free: 81.98 MB / 0.6075 GB Notification: Performance of matching and sorting (n=689): time 0.01879/6.155, allocations: 8.146 MB / 2.75 GB, free: 74.57 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001351/6.155, allocations: 465.6 kB / 2.75 GB, free: 74.03 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003601/6.159, allocations: 2.098 MB / 2.752 GB, free: 72.1 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.001379/6.16, allocations: 29.7 kB / 2.752 GB, free: 72.07 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001742/6.162, allocations: 2.191 MB / 2.755 GB, free: 70.17 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.002422/6.164, allocations: 2.143 MB / 2.757 GB, free: 68.19 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006188/6.165, allocations: 4 kB / 2.757 GB, free: 68.19 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002629/6.165, allocations: 0.5168 MB / 2.757 GB, free: 67.73 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005176/6.171, allocations: 3.014 MB / 2.76 GB, free: 64.82 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005595/6.176, allocations: 3.53 MB / 2.764 GB, free: 61.37 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008719/6.185, allocations: 3.955 MB / 2.767 GB, free: 57.85 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-05/6.185, allocations: 9.312 kB / 2.767 GB, free: 57.84 MB / 0.6075 GB Notification: Performance of matching and sorting (n=760) (initialization): time 0.02274/6.208, allocations: 8.472 MB / 2.776 GB, free: 50.16 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/6.208, allocations: 4 kB / 2.776 GB, free: 50.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.421e-05/6.208, allocations: 4 kB / 2.776 GB, free: 50.16 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001227/6.209, allocations: 195 kB / 2.776 GB, free: 50 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01475/6.224, allocations: 2.022 MB / 2.778 GB, free: 48.52 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003501/6.227, allocations: 2.93 MB / 2.781 GB, free: 45.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01283/6.24, allocations: 0.9755 MB / 2.782 GB, free: 44.71 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003126/6.243, allocations: 315 kB / 2.782 GB, free: 44.5 MB / 0.6075 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.004794/6.248, allocations: 200.2 kB / 2.782 GB, free: 44.32 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003226/6.251, allocations: 446.4 kB / 2.783 GB, free: 43.88 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04106/6.292, allocations: 10.54 MB / 2.793 GB, free: 35.1 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.315e-05/6.293, allocations: 68 kB / 2.793 GB, free: 35.04 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.614e-05/6.293, allocations: 0 / 2.793 GB, free: 35.04 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002084/6.293, allocations: 33.23 kB / 2.793 GB, free: 35.04 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04705/6.34, allocations: 18.12 MB / 2.811 GB, free: 17.61 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.503e-05/6.34, allocations: 0 / 2.811 GB, free: 17.61 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01423/6.354, allocations: 1.911 MB / 2.813 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001187/6.355, allocations: 185.4 kB / 2.813 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002543/6.358, allocations: 149.9 kB / 2.813 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003224/6.361, allocations: 2.957 MB / 2.816 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.476e-06/6.361, allocations: 8.031 kB / 2.816 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02762/6.389, allocations: 8.462 MB / 2.824 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0297/6.419, allocations: 8.941 MB / 2.833 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006774/6.426, allocations: 1.828 MB / 2.835 GB, free: 8.715 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004131/6.43, allocations: 3.906 kB / 2.835 GB, free: 8.711 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01236/6.442, allocations: 0.7336 MB / 2.835 GB, free: 7.977 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002102/6.444, allocations: 357.3 kB / 2.836 GB, free: 7.625 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002598/6.447, allocations: 275.7 kB / 2.836 GB, free: 7.355 MB / 0.6231 GB Notification: Performance of sort global known variables: time 0.005236/6.452, allocations: 1.78 MB / 2.838 GB, free: 5.586 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.01228/6.464, allocations: 1.959 MB / 2.84 GB, free: 3.625 MB / 0.6231 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.005308/6.47, allocations: 1.278 MB / 2.841 GB, free: 2.645 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.5434/7.013, allocations: 7.816 MB / 2.848 GB, free: 163.2 MB / 0.6232 GB Notification: Performance of simCode: created event and clocks part: time 9.678e-06/7.013, allocations: 0 / 2.848 GB, free: 163.2 MB / 0.6232 GB Notification: Performance of simCode: created simulation system equations: time 0.009493/7.023, allocations: 4.365 MB / 2.853 GB, free: 162.9 MB / 0.6232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004895/7.028, allocations: 0.5617 MB / 2.853 GB, free: 162.9 MB / 0.6232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03146/7.059, allocations: 10.57 MB / 2.864 GB, free: 160.8 MB / 0.6232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009336/7.069, allocations: 4.354 MB / 2.868 GB, free: 159.9 MB / 0.6232 GB Notification: Performance of SimCode: time 2.274e-06/7.069, allocations: 0 / 2.868 GB, free: 159.9 MB / 0.6232 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.Validation.BESTEST.WD400.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.Validation.BESTEST.WD400.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.Validation.BESTEST.WD400.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.Validation.BESTEST.WD400.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_Validation_BESTEST_WD400_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_Validation_BESTEST_WD400.fmu > IBPSA_latest_IBPSA.BoundaryConditions.Validation.BESTEST.WD400.pipe 2>&1)