Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.Validation.BESTEST.WD400.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.Validation.BESTEST.WD400,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_Validation_BESTEST_WD400",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.Validation.BESTEST.WD400,fileNamePrefix="Buildings_8_Buildings_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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.397/1.397, allocations: 289.8 MB / 297.1 MB, free: 6.621 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.001107/0.001107, allocations: 185.3 kB / 366.3 MB, free: 1.992 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.171/1.171, allocations: 205.1 MB / 0.6256 GB, free: 5.848 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.0008681/0.0008681, allocations: 93.55 kB / 0.7396 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2099/0.2108, allocations: 122.4 MB / 0.8591 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4548/0.6656, allocations: 116.3 MB / 0.9726 GB, free: 68.58 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.229/3.894, allocations: 2.095 GB / 3.067 GB, free: 353.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002099/3.894, allocations: 85.62 kB / 3.068 GB, free: 353.9 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.22/5.114, allocations: 395.2 MB / 3.454 GB, free: 217.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/5.115, allocations: 7.844 kB / 3.454 GB, free: 217.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04236/5.157, allocations: 6.76 MB / 3.46 GB, free: 217.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009402/5.166, allocations: 3.63 MB / 3.464 GB, free: 216.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003057/5.167, allocations: 246.8 kB / 3.464 GB, free: 216.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002537/5.169, allocations: 435.5 kB / 3.464 GB, free: 216.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02276/5.192, allocations: 10.18 MB / 3.474 GB, free: 216.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02036/5.212, allocations: 8.276 MB / 3.482 GB, free: 215.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001309/5.213, allocations: 10.41 kB / 3.482 GB, free: 215.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008242/5.213, allocations: 9.938 kB / 3.482 GB, free: 215.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001496/5.214, allocations: 185.4 kB / 3.483 GB, free: 215.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05489/5.268, allocations: 26.58 MB / 3.508 GB, free: 210.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01241/5.281, allocations: 6.789 MB / 3.515 GB, free: 210.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005873/5.287, allocations: 3.687 MB / 3.519 GB, free: 210.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001169/5.288, allocations: 0.6734 MB / 3.519 GB, free: 210.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006584/5.295, allocations: 4.394 MB / 3.524 GB, free: 209.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=677): time 7.615e-06/5.295, allocations: 0 / 3.524 GB, free: 209.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=677): time 0.01694/5.312, allocations: 7.872 MB / 3.531 GB, free: 207.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001456/5.312, allocations: 456.7 kB / 3.532 GB, free: 207.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003892/5.316, allocations: 2.314 MB / 3.534 GB, free: 206.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001134/5.317, allocations: 27.92 kB / 3.534 GB, free: 206.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001534/5.318, allocations: 2.03 MB / 3.536 GB, free: 204.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002142/5.32, allocations: 2.106 MB / 3.538 GB, free: 203.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005995/5.321, allocations: 0 / 3.538 GB, free: 203.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002352/5.321, allocations: 0.5245 MB / 3.539 GB, free: 202.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005112/5.326, allocations: 2.938 MB / 3.541 GB, free: 201.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00545/5.332, allocations: 3.472 MB / 3.545 GB, free: 199.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008282/5.34, allocations: 3.763 MB / 3.549 GB, free: 197.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.728e-05/5.34, allocations: 2.312 kB / 3.549 GB, free: 197.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=750) (initialization): time 0.02101/5.361, allocations: 8.235 MB / 3.557 GB, free: 194.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/5.361, allocations: 7.25 kB / 3.557 GB, free: 194.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.789e-05/5.361, allocations: 3.875 kB / 3.557 GB, free: 194.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001258/5.363, allocations: 185.7 kB / 3.557 GB, free: 194.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01453/5.377, allocations: 1.942 MB / 3.559 GB, free: 194.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003516/5.381, allocations: 2.925 MB / 3.562 GB, free: 191.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01131/5.392, allocations: 0.9169 MB / 3.562 GB, free: 191 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00239/5.394, allocations: 310.8 kB / 3.563 GB, free: 190.8 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.003825/5.398, allocations: 188.2 kB / 3.563 GB, free: 190.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002833/5.401, allocations: 466.2 kB / 3.563 GB, free: 190.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03311/5.434, allocations: 10.22 MB / 3.573 GB, free: 181.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.351e-05/5.434, allocations: 72 kB / 3.573 GB, free: 181.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.342e-05/5.434, allocations: 6.875 kB / 3.573 GB, free: 181.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001294/5.435, allocations: 30.52 kB / 3.573 GB, free: 181.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03616/5.471, allocations: 17.6 MB / 3.591 GB, free: 167.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.702e-05/5.471, allocations: 7.688 kB / 3.591 GB, free: 167.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01249/5.483, allocations: 1.824 MB / 3.592 GB, free: 166.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001131/5.484, allocations: 183 kB / 3.593 GB, free: 166 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00181/5.486, allocations: 143 kB / 3.593 GB, free: 165.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00294/5.489, allocations: 2.96 MB / 3.596 GB, free: 162.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/5.489, allocations: 4.062 kB / 3.596 GB, free: 162.9 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02174/5.511, allocations: 8.206 MB / 3.604 GB, free: 155.4 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01978/5.531, allocations: 8.674 MB / 3.612 GB, free: 147.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004413/5.535, allocations: 1.832 MB / 3.614 GB, free: 145.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002371/5.538, allocations: 3.844 kB / 3.614 GB, free: 145.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009707/5.547, allocations: 0.658 MB / 3.615 GB, free: 145.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009829/5.548, allocations: 363.6 kB / 3.615 GB, free: 145.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001256/5.55, allocations: 268.9 kB / 3.615 GB, free: 145 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.004233/5.554, allocations: 1.933 MB / 3.617 GB, free: 143.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.008238/5.562, allocations: 1.853 MB / 3.619 GB, free: 141.4 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.00333/5.566, allocations: 1.224 MB / 3.62 GB, free: 140.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01639/5.582, allocations: 7.655 MB / 3.628 GB, free: 133.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/5.582, allocations: 4 kB / 3.628 GB, free: 133.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.009881/5.592, allocations: 4.269 MB / 3.632 GB, free: 129.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007096/5.599, allocations: 0.5672 MB / 3.632 GB, free: 128.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03131/5.63, allocations: 10.18 MB / 3.642 GB, free: 119.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01253/5.643, allocations: 4.196 MB / 3.646 GB, free: 116.3 MB / 0.948 GB Notification: Performance of SimCode: time 1.322e-06/5.643, allocations: 4 kB / 3.646 GB, free: 116.3 MB / 0.948 GB (rm -f Buildings_8_Buildings.BoundaryConditions.Validation.BESTEST.WD400.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.Validation.BESTEST.WD400.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.Validation.BESTEST.WD400.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.Validation.BESTEST.WD400.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_BoundaryConditions_Validation_BESTEST_WD400_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_BoundaryConditions_Validation_BESTEST_WD400.fmu > Buildings_8_Buildings.BoundaryConditions.Validation.BESTEST.WD400.pipe 2>&1)