Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.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.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.128/2.128, allocations: 284.8 MB / 292.1 MB, free: 10.93 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.001607/0.001607, allocations: 185.2 kB / 360.3 MB, free: 7.73 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.63/1.63, allocations: 205.1 MB / 0.6187 GB, free: 13.24 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.001212/0.001211, allocations: 87.56 kB / 0.7317 GB, free: 45.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2405/0.2418, allocations: 121.4 MB / 0.8502 GB, free: 3.965 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5569/0.7987, allocations: 115.2 MB / 0.9627 GB, free: 78.58 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2106/1.009, allocations: 140.3 MB / 1.1 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003178/1.01, allocations: 90.34 kB / 1.1 GB, free: 0.5547 MB / 0.698 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.04214/1.052, allocations: 9.609 MB / 1.109 GB, free: 7.023 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/1.052, allocations: 8 kB / 1.109 GB, free: 7.016 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.371e-05/1.052, allocations: 27.62 kB / 1.109 GB, free: 6.988 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004996/1.053, allocations: 267.5 kB / 1.109 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.4e-05/1.053, allocations: 4.844 kB / 1.109 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.729e-05/1.053, allocations: 15.88 kB / 1.109 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001517/1.054, allocations: 0.7256 MB / 1.11 GB, free: 5.938 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004639/1.055, allocations: 191.9 kB / 1.11 GB, free: 5.734 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/1.055, allocations: 0 / 1.11 GB, free: 5.734 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.256e-05/1.055, allocations: 0 / 1.11 GB, free: 5.734 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/1.055, allocations: 5.5 kB / 1.11 GB, free: 5.73 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001404/1.056, allocations: 0.5359 MB / 1.111 GB, free: 5.156 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005248/1.057, allocations: 203.3 kB / 1.111 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002478/1.057, allocations: 95.17 kB / 1.111 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.285e-05/1.057, allocations: 19.95 kB / 1.111 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003642/1.057, allocations: 153.3 kB / 1.111 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=33): time 4.99e-06/1.057, allocations: 11.98 kB / 1.111 GB, free: 4.66 MB / 0.7136 GB Notification: Performance of matching and sorting (n=33): time 0.0007931/1.058, allocations: 255.1 kB / 1.112 GB, free: 4.406 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.456e-05/1.058, allocations: 132.5 kB / 1.112 GB, free: 4.246 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004761/1.059, allocations: 255.9 kB / 1.112 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.609e-05/1.059, allocations: 33.69 kB / 1.112 GB, free: 3.953 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.05e-05/1.059, allocations: 96.78 kB / 1.112 GB, free: 3.855 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001273/1.059, allocations: 106.4 kB / 1.112 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.935e-05/1.059, allocations: 0 / 1.112 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001647/1.059, allocations: 338.8 kB / 1.113 GB, free: 3.41 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002215/1.06, allocations: 67.98 kB / 1.113 GB, free: 3.344 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003015/1.06, allocations: 127.5 kB / 1.113 GB, free: 3.207 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003112/1.06, allocations: 91.94 kB / 1.113 GB, free: 3.117 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/1.06, allocations: 0 / 1.113 GB, free: 3.117 MB / 0.7136 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007188/1.061, allocations: 253.8 kB / 1.113 GB, free: 2.863 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/1.061, allocations: 5.25 kB / 1.113 GB, free: 2.859 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/1.061, allocations: 4 kB / 1.113 GB, free: 2.855 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/1.061, allocations: 0 / 1.113 GB, free: 2.855 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004436/1.062, allocations: 63.91 kB / 1.113 GB, free: 2.793 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/1.062, allocations: 0 / 1.113 GB, free: 2.793 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002787/1.062, allocations: 31.67 kB / 1.113 GB, free: 2.762 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.186e-05/1.062, allocations: 11.98 kB / 1.113 GB, free: 2.75 MB / 0.7136 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 0.0001499/1.062, allocations: 116.7 kB / 1.113 GB, free: 2.629 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.29e-05/1.062, allocations: 33.03 kB / 1.113 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001295/1.063, allocations: 371.1 kB / 1.114 GB, free: 2.25 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.17e-05/1.063, allocations: 5.25 kB / 1.114 GB, free: 2.246 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/1.063, allocations: 3.938 kB / 1.114 GB, free: 2.242 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.533e-06/1.064, allocations: 0 / 1.114 GB, free: 2.242 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005243/1.064, allocations: 297.8 kB / 1.114 GB, free: 1.914 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/1.064, allocations: 0 / 1.114 GB, free: 1.914 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003789/1.064, allocations: 55.91 kB / 1.114 GB, free: 1.859 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.083e-05/1.064, allocations: 4 kB / 1.114 GB, free: 1.855 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.24e-05/1.065, allocations: 11.98 kB / 1.114 GB, free: 1.844 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/1.065, allocations: 5.812 kB / 1.114 GB, free: 1.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/1.065, allocations: 0 / 1.114 GB, free: 1.84 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007974/1.065, allocations: 297.5 kB / 1.114 GB, free: 1.531 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009076/1.066, allocations: 0.6685 MB / 1.115 GB, free: 0.8398 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000263/1.067, allocations: 152.7 kB / 1.115 GB, free: 0.6719 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.033e-05/1.067, allocations: 5.312 kB / 1.115 GB, free: 0.668 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002983/1.067, allocations: 15.98 kB / 1.115 GB, free: 0.6523 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.045e-05/1.067, allocations: 23.95 kB / 1.115 GB, free: 0.6289 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-05/1.067, allocations: 12 kB / 1.115 GB, free: 0.6172 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0003409/1.067, allocations: 216.5 kB / 1.115 GB, free: 420 kB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001348/1.069, allocations: 67.89 kB / 1.115 GB, free: 352 kB / 0.7136 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.0008788/1.07, allocations: 314.1 kB / 1.116 GB, free: 164 kB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0006088/1.07, allocations: 203.9 kB / 1.116 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/1.07, allocations: 0 / 1.116 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002935/1.071, allocations: 127.7 kB / 1.116 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003522/1.071, allocations: 24.66 kB / 1.116 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001204/1.072, allocations: 390.5 kB / 1.116 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007058/1.073, allocations: 0.8186 MB / 1.117 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of SimCode: time 1.312e-06/1.073, allocations: 0 / 1.117 GB, free: 14.56 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.fmu > Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1)