Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.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.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",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.805/1.805, allocations: 387.2 MB / 394.5 MB, free: 13.64 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.0009638/0.0009638, allocations: 173.4 kB / 487 MB, free: 5.359 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.139/1.139, allocations: 221.3 MB / 0.7819 GB, free: 1.355 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.0008892/0.0008891, allocations: 90.12 kB / 0.9213 GB, free: 2.617 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4161/0.417, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.181/0.598, allocations: 142.3 MB / 1.205 GB, free: 26.12 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5135/1.112, allocations: 152.2 MB / 1.354 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002275/1.112, allocations: 84.59 kB / 1.354 GB, free: 15.77 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.02516/1.137, allocations: 9.822 MB / 1.364 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/1.137, allocations: 8 kB / 1.364 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.513e-05/1.137, allocations: 31.62 kB / 1.364 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002892/1.137, allocations: 260.4 kB / 1.364 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/1.137, allocations: 4 kB / 1.364 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.387e-05/1.137, allocations: 11.98 kB / 1.364 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000668/1.138, allocations: 0.7217 MB / 1.365 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002387/1.138, allocations: 196.8 kB / 1.365 GB, free: 12 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/1.138, allocations: 4 kB / 1.365 GB, free: 12 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.133e-05/1.138, allocations: 0 / 1.365 GB, free: 12 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.75e-06/1.138, allocations: 4 kB / 1.365 GB, free: 12 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006486/1.139, allocations: 0.5332 MB / 1.365 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002455/1.139, allocations: 207.4 kB / 1.366 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001054/1.139, allocations: 98.64 kB / 1.366 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 4.041e-05/1.14, allocations: 18.08 kB / 1.366 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001713/1.14, allocations: 157.8 kB / 1.366 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=33): time 1.322e-06/1.14, allocations: 0 / 1.366 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of matching and sorting (n=33): time 0.0003963/1.14, allocations: 257.3 kB / 1.366 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.376e-05/1.14, allocations: 132.5 kB / 1.366 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002241/1.14, allocations: 264.4 kB / 1.366 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/1.14, allocations: 29.7 kB / 1.366 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.06e-05/1.14, allocations: 104 kB / 1.367 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.637e-05/1.141, allocations: 104.4 kB / 1.367 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.085e-05/1.141, allocations: 0 / 1.367 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.205e-05/1.141, allocations: 340.7 kB / 1.367 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.474e-05/1.141, allocations: 70.86 kB / 1.367 GB, free: 9.965 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001175/1.141, allocations: 118.1 kB / 1.367 GB, free: 9.867 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001357/1.141, allocations: 102 kB / 1.367 GB, free: 9.793 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/1.141, allocations: 0 / 1.367 GB, free: 9.793 MB / 0.8073 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003182/1.141, allocations: 252.1 kB / 1.367 GB, free: 9.586 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.006e-05/1.141, allocations: 4 kB / 1.367 GB, free: 9.582 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/1.141, allocations: 0 / 1.367 GB, free: 9.582 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/1.141, allocations: 4 kB / 1.367 GB, free: 9.578 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001939/1.142, allocations: 59.16 kB / 1.368 GB, free: 9.523 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/1.142, allocations: 4 kB / 1.368 GB, free: 9.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001418/1.142, allocations: 27.73 kB / 1.368 GB, free: 9.492 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.383e-05/1.142, allocations: 19.84 kB / 1.368 GB, free: 9.477 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.635e-05/1.142, allocations: 108.9 kB / 1.368 GB, free: 9.363 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.079e-05/1.142, allocations: 27.62 kB / 1.368 GB, free: 9.336 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005445/1.142, allocations: 364.2 kB / 1.368 GB, free: 9.047 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/1.142, allocations: 8 kB / 1.368 GB, free: 9.039 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/1.142, allocations: 0 / 1.368 GB, free: 9.039 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/1.142, allocations: 7.984 kB / 1.368 GB, free: 9.031 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002094/1.143, allocations: 301.5 kB / 1.368 GB, free: 8.746 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/1.143, allocations: 0 / 1.368 GB, free: 8.746 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001537/1.143, allocations: 55.91 kB / 1.368 GB, free: 8.691 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/1.143, allocations: 0 / 1.368 GB, free: 8.691 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.918e-05/1.143, allocations: 11.73 kB / 1.368 GB, free: 8.684 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/1.143, allocations: 4 kB / 1.368 GB, free: 8.68 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/1.143, allocations: 0 / 1.368 GB, free: 8.68 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003233/1.143, allocations: 300.4 kB / 1.369 GB, free: 8.422 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000376/1.144, allocations: 0.6641 MB / 1.369 GB, free: 7.797 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/1.144, allocations: 158.2 kB / 1.37 GB, free: 7.641 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.532e-05/1.144, allocations: 3.938 kB / 1.37 GB, free: 7.637 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001624/1.144, allocations: 11.98 kB / 1.37 GB, free: 7.625 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.48e-05/1.144, allocations: 34.98 kB / 1.37 GB, free: 7.594 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-05/1.144, allocations: 11 kB / 1.37 GB, free: 7.586 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0001379/1.144, allocations: 211.2 kB / 1.37 GB, free: 7.426 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0008882/1.145, allocations: 75.16 kB / 1.37 GB, free: 7.359 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005833/1.146, allocations: 303.7 kB / 1.37 GB, free: 7.141 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002682/1.146, allocations: 210.6 kB / 1.37 GB, free: 6.984 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/1.146, allocations: 0 / 1.37 GB, free: 6.984 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001288/1.146, allocations: 119.2 kB / 1.37 GB, free: 6.895 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001986/1.146, allocations: 24.09 kB / 1.37 GB, free: 6.879 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005978/1.147, allocations: 397.4 kB / 1.371 GB, free: 6.516 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003825/1.147, allocations: 0.8158 MB / 1.372 GB, free: 21.68 MB / 0.823 GB Notification: Performance of SimCode: time 3.7e-07/1.147, allocations: 0 / 1.372 GB, free: 21.68 MB / 0.823 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.mat does not exist to compare? outputFormat=mat