Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.Validation.BESTEST.WD500.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.WD500,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_Validation_BESTEST_WD500",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.Validation.BESTEST.WD500,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_Validation_BESTEST_WD500",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.802/1.802, allocations: 387.2 MB / 394.5 MB, free: 13.63 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.001041/0.001041, allocations: 173.3 kB / 487 MB, free: 5.398 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.402 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.0008811/0.0008811, allocations: 91.12 kB / 0.9213 GB, free: 2.656 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4618/0.4627, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2062/0.669, allocations: 142.3 MB / 1.205 GB, free: 26.19 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.736/3.405, allocations: 1.752 GB / 2.957 GB, free: 97.93 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002309/3.406, allocations: 79.95 kB / 2.957 GB, free: 97.85 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.246/4.651, allocations: 417.1 MB / 3.365 GB, free: 144.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/4.651, allocations: 9 kB / 3.365 GB, free: 144.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04432/4.696, allocations: 7.074 MB / 3.371 GB, free: 137.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007382/4.703, allocations: 3.683 MB / 3.375 GB, free: 133.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002477/4.703, allocations: 275.9 kB / 3.375 GB, free: 133.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00193/4.705, allocations: 472 kB / 3.376 GB, free: 133 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01885/4.724, allocations: 10.65 MB / 3.386 GB, free: 122.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01413/4.738, allocations: 8.788 MB / 3.395 GB, free: 113.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001398/4.739, allocations: 4 kB / 3.395 GB, free: 113.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008186/4.739, allocations: 4 kB / 3.395 GB, free: 113.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001119/4.739, allocations: 200 kB / 3.395 GB, free: 113.3 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05392/4.793, allocations: 31.26 MB / 3.425 GB, free: 80.92 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009584/4.803, allocations: 6.799 MB / 3.432 GB, free: 74.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004848/4.808, allocations: 3.782 MB / 3.436 GB, free: 70.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009718/4.809, allocations: 0.6782 MB / 3.436 GB, free: 69.53 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005845/4.815, allocations: 4.506 MB / 3.441 GB, free: 64.96 MB / 1.151 GB Notification: Performance of pre-optimization done (n=689): time 7.615e-06/4.815, allocations: 0 / 3.441 GB, free: 64.96 MB / 1.151 GB Notification: Performance of matching and sorting (n=689): time 0.0154/4.83, allocations: 8.152 MB / 3.449 GB, free: 56.73 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.533e-05/4.83, allocations: 467 kB / 3.449 GB, free: 56.17 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002776/4.833, allocations: 2.088 MB / 3.451 GB, free: 54.07 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0005656/4.834, allocations: 29.7 kB / 3.451 GB, free: 54.04 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.00137/4.835, allocations: 2.203 MB / 3.454 GB, free: 51.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.001438/4.836, allocations: 2.143 MB / 3.456 GB, free: 49.62 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005496/4.837, allocations: 0 / 3.456 GB, free: 49.62 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001881/4.837, allocations: 0.5187 MB / 3.456 GB, free: 49.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004594/4.842, allocations: 3.011 MB / 3.459 GB, free: 46.08 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004894/4.847, allocations: 3.535 MB / 3.462 GB, free: 42.45 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007451/4.854, allocations: 3.939 MB / 3.466 GB, free: 38.48 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.104e-05/4.854, allocations: 0 / 3.466 GB, free: 38.48 MB / 1.151 GB Notification: Performance of matching and sorting (n=760) (initialization): time 0.01668/4.871, allocations: 8.478 MB / 3.475 GB, free: 29.93 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/4.871, allocations: 4 kB / 3.475 GB, free: 29.93 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.145e-05/4.871, allocations: 7.984 kB / 3.475 GB, free: 29.92 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001167/4.872, allocations: 189.7 kB / 3.475 GB, free: 29.73 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01372/4.886, allocations: 2.024 MB / 3.477 GB, free: 27.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003065/4.889, allocations: 2.933 MB / 3.48 GB, free: 24.52 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0112/4.9, allocations: 0.9789 MB / 3.481 GB, free: 23.54 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001666/4.902, allocations: 311.6 kB / 3.481 GB, free: 23.23 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.001471/4.903, allocations: 191.6 kB / 3.481 GB, free: 23.04 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00129/4.905, allocations: 450.5 kB / 3.482 GB, free: 22.59 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02486/4.929, allocations: 10.53 MB / 3.492 GB, free: 11.98 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.344e-05/4.93, allocations: 75.98 kB / 3.492 GB, free: 11.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.244e-05/4.93, allocations: 3.938 kB / 3.492 GB, free: 11.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.746e-05/4.93, allocations: 35.86 kB / 3.492 GB, free: 11.86 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.612/5.542, allocations: 18.12 MB / 3.51 GB, free: 406.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.05e-05/5.542, allocations: 0 / 3.51 GB, free: 406.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01299/5.555, allocations: 1.906 MB / 3.511 GB, free: 406.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001107/5.556, allocations: 186.7 kB / 3.512 GB, free: 406.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002072/5.558, allocations: 149.5 kB / 3.512 GB, free: 406.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002941/5.561, allocations: 2.959 MB / 3.515 GB, free: 404.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/5.561, allocations: 1.688 kB / 3.515 GB, free: 404.2 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01866/5.58, allocations: 8.466 MB / 3.523 GB, free: 403.8 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01862/5.598, allocations: 8.934 MB / 3.532 GB, free: 403 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004782/5.603, allocations: 1.829 MB / 3.533 GB, free: 402.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00271/5.606, allocations: 2.938 kB / 3.533 GB, free: 402.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01085/5.617, allocations: 0.7315 MB / 3.534 GB, free: 402.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001676/5.618, allocations: 361.2 kB / 3.535 GB, free: 402.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002001/5.62, allocations: 277.8 kB / 3.535 GB, free: 402.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.003604/5.624, allocations: 1.781 MB / 3.537 GB, free: 402.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.008928/5.633, allocations: 1.958 MB / 3.538 GB, free: 402.4 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.003569/5.637, allocations: 1.282 MB / 3.54 GB, free: 402.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.01636/5.653, allocations: 7.825 MB / 3.547 GB, free: 402 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.277e-05/5.653, allocations: 10.12 kB / 3.547 GB, free: 402 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.009904/5.663, allocations: 4.361 MB / 3.552 GB, free: 401.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005238/5.668, allocations: 0.5649 MB / 3.552 GB, free: 401.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03275/5.701, allocations: 10.58 MB / 3.562 GB, free: 399.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009586/5.711, allocations: 4.34 MB / 3.567 GB, free: 398.7 MB / 1.151 GB Notification: Performance of SimCode: time 8.32e-07/5.711, allocations: 3.938 kB / 3.567 GB, free: 398.7 MB / 1.151 GB (rm -f Buildings_9_Buildings.BoundaryConditions.Validation.BESTEST.WD500.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.Validation.BESTEST.WD500.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.Validation.BESTEST.WD500.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.Validation.BESTEST.WD500.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.Validation.BESTEST.WD500_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_Validation_BESTEST_WD500_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_Validation_BESTEST_WD500.fmu > Buildings_9_Buildings.BoundaryConditions.Validation.BESTEST.WD500.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.Validation.BESTEST.WD500_res.mat does not exist to compare? outputFormat=mat