Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.Validation.BESTEST.WD400.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.Validation.BESTEST.WD400,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_Validation_BESTEST_WD400",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.Validation.BESTEST.WD400,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.173/2.173, allocations: 284.8 MB / 292.1 MB, free: 10.77 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.001577/0.001576, allocations: 177.2 kB / 360.3 MB, free: 7.52 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.654/1.654, allocations: 205.1 MB / 0.6187 GB, free: 13.21 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.001247/0.001247, allocations: 94.64 kB / 0.7317 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2442/0.2455, allocations: 121.4 MB / 0.8502 GB, free: 3.91 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5542/0.7997, allocations: 115.2 MB / 0.9627 GB, free: 78.5 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.172/4.972, allocations: 2.094 GB / 3.056 GB, free: 25.12 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002881/4.972, allocations: 88.47 kB / 3.057 GB, free: 25.07 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.879/6.851, allocations: 395.2 MB / 3.443 GB, free: 22.85 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/6.851, allocations: 8.5 kB / 3.443 GB, free: 22.84 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08304/6.934, allocations: 6.77 MB / 3.449 GB, free: 16.05 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01134/6.946, allocations: 3.617 MB / 3.453 GB, free: 12.37 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004307/6.946, allocations: 248 kB / 3.453 GB, free: 12.13 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003525/6.95, allocations: 432 kB / 3.453 GB, free: 11.71 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03659/6.986, allocations: 10.19 MB / 3.463 GB, free: 1.512 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3556/7.342, allocations: 8.278 MB / 3.471 GB, free: 307.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003109/7.342, allocations: 1.969 kB / 3.471 GB, free: 307.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003268/7.346, allocations: 3.75 kB / 3.471 GB, free: 307.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001623/7.346, allocations: 187.8 kB / 3.472 GB, free: 307.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09575/7.441, allocations: 26.59 MB / 3.498 GB, free: 303.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02188/7.463, allocations: 6.785 MB / 3.504 GB, free: 303.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0113/7.475, allocations: 3.688 MB / 3.508 GB, free: 303.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001889/7.477, allocations: 0.6693 MB / 3.508 GB, free: 302.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01399/7.491, allocations: 4.395 MB / 3.513 GB, free: 302.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=677): time 1.487e-05/7.491, allocations: 2.719 kB / 3.513 GB, free: 302.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=677): time 0.03731/7.528, allocations: 7.872 MB / 3.52 GB, free: 301.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000156/7.528, allocations: 463.7 kB / 3.521 GB, free: 301.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005746/7.534, allocations: 2.312 MB / 3.523 GB, free: 301.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.002412/7.537, allocations: 31.17 kB / 3.523 GB, free: 301.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002188/7.539, allocations: 2.024 MB / 3.525 GB, free: 300.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.004244/7.543, allocations: 2.106 MB / 3.527 GB, free: 299.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001773/7.545, allocations: 0 / 3.527 GB, free: 299.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000484/7.545, allocations: 0.5181 MB / 3.528 GB, free: 298.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01076/7.556, allocations: 2.945 MB / 3.531 GB, free: 298.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01191/7.568, allocations: 3.467 MB / 3.534 GB, free: 298.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01583/7.584, allocations: 3.762 MB / 3.538 GB, free: 298.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.697e-05/7.584, allocations: 3.031 kB / 3.538 GB, free: 298.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=750) (initialization): time 0.03662/7.621, allocations: 8.239 MB / 3.546 GB, free: 298 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/7.621, allocations: 6.75 kB / 3.546 GB, free: 298 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.635e-05/7.621, allocations: 9.812 kB / 3.546 GB, free: 298 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00215/7.623, allocations: 185.4 kB / 3.546 GB, free: 298 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02628/7.649, allocations: 1.949 MB / 3.548 GB, free: 298 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005565/7.655, allocations: 2.921 MB / 3.551 GB, free: 295.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01963/7.675, allocations: 0.9128 MB / 3.551 GB, free: 295.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002829/7.677, allocations: 309.2 kB / 3.552 GB, free: 295.3 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.00357/7.681, allocations: 208.4 kB / 3.552 GB, free: 295.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002797/7.684, allocations: 467.6 kB / 3.552 GB, free: 295 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0559/7.74, allocations: 10.21 MB / 3.562 GB, free: 292.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001144/7.74, allocations: 67.59 kB / 3.562 GB, free: 292.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.442e-05/7.74, allocations: 1.688 kB / 3.562 GB, free: 292.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002173/7.74, allocations: 33.28 kB / 3.562 GB, free: 292.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06198/7.802, allocations: 17.6 MB / 3.58 GB, free: 284.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.853e-05/7.802, allocations: 0 / 3.58 GB, free: 284.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02505/7.827, allocations: 1.832 MB / 3.581 GB, free: 284.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002002/7.829, allocations: 172.9 kB / 3.582 GB, free: 284.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002511/7.832, allocations: 152.7 kB / 3.582 GB, free: 284.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005114/7.837, allocations: 2.962 MB / 3.585 GB, free: 281.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/7.837, allocations: 1.844 kB / 3.585 GB, free: 281.7 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0363/7.873, allocations: 8.196 MB / 3.593 GB, free: 278.3 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0382/7.912, allocations: 8.676 MB / 3.601 GB, free: 274.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006787/7.919, allocations: 1.829 MB / 3.603 GB, free: 273.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003716/7.922, allocations: 3.156 kB / 3.603 GB, free: 273.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0193/7.942, allocations: 0.6685 MB / 3.604 GB, free: 273.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002182/7.944, allocations: 359 kB / 3.604 GB, free: 273.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002516/7.946, allocations: 271.4 kB / 3.604 GB, free: 273.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.006436/7.953, allocations: 1.932 MB / 3.606 GB, free: 272.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01397/7.967, allocations: 1.846 MB / 3.608 GB, free: 271.9 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.004985/7.972, allocations: 1.225 MB / 3.609 GB, free: 271.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.02668/7.999, allocations: 7.654 MB / 3.617 GB, free: 268.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.076e-05/7.999, allocations: 1.969 kB / 3.617 GB, free: 268.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.01428/8.013, allocations: 4.267 MB / 3.621 GB, free: 266.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00732/8.02, allocations: 0.5749 MB / 3.621 GB, free: 266.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04354/8.064, allocations: 10.18 MB / 3.631 GB, free: 258.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01475/8.079, allocations: 4.2 MB / 3.635 GB, free: 255.6 MB / 0.948 GB Notification: Performance of SimCode: time 1.823e-06/8.079, allocations: 4 kB / 3.635 GB, free: 255.5 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.Validation.BESTEST.WD400.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.Validation.BESTEST.WD400.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.Validation.BESTEST.WD400.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.Validation.BESTEST.WD400.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_BoundaryConditions_Validation_BESTEST_WD400_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_BoundaryConditions_Validation_BESTEST_WD400.fmu > Buildings_8.0.0_Buildings.BoundaryConditions.Validation.BESTEST.WD400.pipe 2>&1)