Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.Validation.BESTEST.WD400.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.Validation.BESTEST.WD400,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_Validation_BESTEST_WD400",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.Validation.BESTEST.WD400,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 1.867/1.867, allocations: 387.2 MB / 394.5 MB, free: 13.67 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009914/0.0009913, allocations: 185.3 kB / 487 MB, free: 5.355 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.167/1.167, allocations: 221.3 MB / 0.7819 GB, free: 1.379 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008482/0.0008481, allocations: 98.12 kB / 0.9213 GB, free: 2.629 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4662/0.4671, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2025/0.6696, allocations: 142.3 MB / 1.205 GB, free: 26.12 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.779/3.449, allocations: 1.752 GB / 2.957 GB, free: 97.58 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002067/3.449, allocations: 83.67 kB / 2.957 GB, free: 97.5 MB / 1.151 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.257/4.706, allocations: 417.1 MB / 3.365 GB, free: 144.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/4.706, allocations: 9 kB / 3.365 GB, free: 144.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04242/4.749, allocations: 7.082 MB / 3.371 GB, free: 137.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007216/4.756, allocations: 3.683 MB / 3.375 GB, free: 133.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002262/4.756, allocations: 272 kB / 3.375 GB, free: 133.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00165/4.758, allocations: 468 kB / 3.376 GB, free: 132.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01838/4.776, allocations: 10.65 MB / 3.386 GB, free: 121.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01507/4.792, allocations: 8.789 MB / 3.395 GB, free: 113 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000133/4.792, allocations: 7.938 kB / 3.395 GB, free: 113 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008519/4.793, allocations: 4 kB / 3.395 GB, free: 113 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001062/4.793, allocations: 204 kB / 3.395 GB, free: 112.8 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05324/4.846, allocations: 31.26 MB / 3.425 GB, free: 80.49 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00976/4.856, allocations: 6.803 MB / 3.432 GB, free: 73.66 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004943/4.861, allocations: 3.786 MB / 3.436 GB, free: 69.86 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009822/4.862, allocations: 0.6782 MB / 3.436 GB, free: 69.09 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006026/4.868, allocations: 4.502 MB / 3.441 GB, free: 64.52 MB / 1.151 GB Notification: Performance of pre-optimization done (n=689): time 7.995e-06/4.868, allocations: 0 / 3.441 GB, free: 64.52 MB / 1.151 GB Notification: Performance of matching and sorting (n=689): time 0.02042/4.888, allocations: 8.152 MB / 3.449 GB, free: 56.29 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.684e-05/4.888, allocations: 463.1 kB / 3.449 GB, free: 55.74 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002859/4.891, allocations: 2.099 MB / 3.451 GB, free: 53.63 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0007867/4.892, allocations: 29.7 kB / 3.451 GB, free: 53.59 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001341/4.893, allocations: 2.195 MB / 3.454 GB, free: 51.37 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.001659/4.895, allocations: 2.147 MB / 3.456 GB, free: 49.19 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005487/4.896, allocations: 0 / 3.456 GB, free: 49.19 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001942/4.896, allocations: 0.5187 MB / 3.456 GB, free: 48.66 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004631/4.9, allocations: 3.007 MB / 3.459 GB, free: 45.65 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004816/4.905, allocations: 3.535 MB / 3.463 GB, free: 42.01 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007763/4.913, allocations: 3.939 MB / 3.466 GB, free: 38.04 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.809e-05/4.913, allocations: 4 kB / 3.466 GB, free: 38.04 MB / 1.151 GB Notification: Performance of matching and sorting (n=760) (initialization): time 0.01802/4.931, allocations: 8.481 MB / 3.475 GB, free: 29.49 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/4.931, allocations: 4 kB / 3.475 GB, free: 29.48 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.017e-05/4.931, allocations: 4.219 kB / 3.475 GB, free: 29.48 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00112/4.932, allocations: 185.6 kB / 3.475 GB, free: 29.29 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01364/4.946, allocations: 2.024 MB / 3.477 GB, free: 27.27 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00312/4.949, allocations: 2.941 MB / 3.48 GB, free: 24.08 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01112/4.96, allocations: 0.9711 MB / 3.481 GB, free: 23.11 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002255/4.962, allocations: 311.6 kB / 3.481 GB, free: 22.8 MB / 1.151 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.00328/4.966, allocations: 203.6 kB / 3.481 GB, free: 22.59 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002189/4.968, allocations: 442.5 kB / 3.482 GB, free: 22.16 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02725/4.995, allocations: 10.54 MB / 3.492 GB, free: 11.53 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.28e-05/4.995, allocations: 68 kB / 3.492 GB, free: 11.46 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.229e-05/4.995, allocations: 0 / 3.492 GB, free: 11.46 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.733e-05/4.995, allocations: 35.86 kB / 3.492 GB, free: 11.43 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.626/5.621, allocations: 18.12 MB / 3.51 GB, free: 405.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.847e-05/5.621, allocations: 3.812 kB / 3.51 GB, free: 405.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01298/5.634, allocations: 1.91 MB / 3.511 GB, free: 405.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001068/5.635, allocations: 185.1 kB / 3.512 GB, free: 405.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001715/5.637, allocations: 143.4 kB / 3.512 GB, free: 405.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002832/5.64, allocations: 2.962 MB / 3.515 GB, free: 403.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/5.64, allocations: 2.812 kB / 3.515 GB, free: 403.4 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01813/5.658, allocations: 8.457 MB / 3.523 GB, free: 403 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01704/5.675, allocations: 8.942 MB / 3.532 GB, free: 402.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00412/5.679, allocations: 1.829 MB / 3.533 GB, free: 402 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001967/5.681, allocations: 3.625 kB / 3.533 GB, free: 402 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0104/5.692, allocations: 0.7265 MB / 3.534 GB, free: 402 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001096/5.693, allocations: 368.7 kB / 3.535 GB, free: 402 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008954/5.694, allocations: 270.1 kB / 3.535 GB, free: 402 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.00253/5.696, allocations: 1.78 MB / 3.537 GB, free: 401.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.006684/5.703, allocations: 1.959 MB / 3.538 GB, free: 401.6 MB / 1.151 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.002966/5.706, allocations: 1.283 MB / 3.54 GB, free: 401.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.01392/5.72, allocations: 7.823 MB / 3.547 GB, free: 401.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/5.72, allocations: 7.844 kB / 3.547 GB, free: 401.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.006902/5.727, allocations: 4.363 MB / 3.552 GB, free: 401 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003514/5.731, allocations: 0.5584 MB / 3.552 GB, free: 401 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02469/5.755, allocations: 10.58 MB / 3.562 GB, free: 398.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007438/5.763, allocations: 4.344 MB / 3.567 GB, free: 398 MB / 1.151 GB Notification: Performance of SimCode: time 1.132e-06/5.763, allocations: 0 / 3.567 GB, free: 398 MB / 1.151 GB (rm -f Buildings_9_Buildings.BoundaryConditions.Validation.BESTEST.WD400.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.Validation.BESTEST.WD400.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.Validation.BESTEST.WD400.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.Validation.BESTEST.WD400.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.Validation.BESTEST.WD400_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_Validation_BESTEST_WD400_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_Validation_BESTEST_WD400.fmu > Buildings_9_Buildings.BoundaryConditions.Validation.BESTEST.WD400.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.Validation.BESTEST.WD400_res.mat does not exist to compare? outputFormat=mat