Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.333/1.333, allocations: 285.5 MB / 292.8 MB, free: 9.789 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.0009356/0.0009355, allocations: 181.1 kB / 361.1 MB, free: 368 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.016/1.016, allocations: 205.1 MB / 0.6195 GB, free: 2.863 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007249/0.0007249, allocations: 88 kB / 0.7326 GB, free: 1.031 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.3479/0.3487, allocations: 121.5 MB / 0.8512 GB, free: 151.7 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.4914, allocations: 115.3 MB / 0.9638 GB, free: 56.26 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4117/0.9032, allocations: 140.4 MB / 1.101 GB, free: 32.03 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001822/0.9034, allocations: 81.64 kB / 1.101 GB, free: 32.03 MB / 0.7136 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.02046/0.9238, allocations: 9.603 MB / 1.11 GB, free: 31.08 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.881e-05/0.9239, allocations: 7.812 kB / 1.11 GB, free: 31.08 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.994e-05/0.9239, allocations: 31.31 kB / 1.11 GB, free: 31.06 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002493/0.9242, allocations: 267.5 kB / 1.111 GB, free: 30.84 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.9242, allocations: 7.75 kB / 1.111 GB, free: 30.84 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.256e-05/0.9243, allocations: 11.56 kB / 1.111 GB, free: 30.84 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006499/0.9249, allocations: 0.7269 MB / 1.111 GB, free: 30.83 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002172/0.9251, allocations: 194.7 kB / 1.112 GB, free: 30.76 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.9251, allocations: 0 / 1.112 GB, free: 30.76 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.038e-05/0.9252, allocations: 7.781 kB / 1.112 GB, free: 30.75 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.9252, allocations: 3.969 kB / 1.112 GB, free: 30.75 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006024/0.9258, allocations: 0.5326 MB / 1.112 GB, free: 30.5 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002322/0.926, allocations: 207.5 kB / 1.112 GB, free: 30.48 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.9261, allocations: 90.72 kB / 1.112 GB, free: 30.47 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.67e-05/0.9262, allocations: 17.69 kB / 1.112 GB, free: 30.47 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001634/0.9264, allocations: 157.6 kB / 1.113 GB, free: 30.42 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=33): time 1.472e-06/0.9264, allocations: 0 / 1.113 GB, free: 30.42 MB / 0.7136 GB Notification: Performance of matching and sorting (n=33): time 0.0003669/0.9267, allocations: 253.4 kB / 1.113 GB, free: 30.36 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.836e-05/0.9268, allocations: 143 kB / 1.113 GB, free: 30.2 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002036/0.927, allocations: 258 kB / 1.113 GB, free: 30.11 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.927, allocations: 25.7 kB / 1.113 GB, free: 30.08 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.773e-05/0.927, allocations: 102.4 kB / 1.113 GB, free: 30 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.593e-05/0.9271, allocations: 100 kB / 1.113 GB, free: 29.93 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.005e-05/0.9271, allocations: 0 / 1.113 GB, free: 29.93 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 4.42e-05/0.9272, allocations: 338.6 kB / 1.114 GB, free: 29.61 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.352e-05/0.9273, allocations: 70.52 kB / 1.114 GB, free: 29.61 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001116/0.9274, allocations: 130.4 kB / 1.114 GB, free: 29.57 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001279/0.9275, allocations: 93.27 kB / 1.114 GB, free: 29.57 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.9275, allocations: 0 / 1.114 GB, free: 29.57 MB / 0.7136 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003122/0.9278, allocations: 257.7 kB / 1.114 GB, free: 29.52 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.608e-06/0.9279, allocations: 3.875 kB / 1.114 GB, free: 29.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.9279, allocations: 0 / 1.114 GB, free: 29.52 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.818e-06/0.9279, allocations: 3.906 kB / 1.114 GB, free: 29.52 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001867/0.9281, allocations: 56.83 kB / 1.114 GB, free: 29.51 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.9281, allocations: 7.906 kB / 1.114 GB, free: 29.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001322/0.9282, allocations: 26.58 kB / 1.114 GB, free: 29.49 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.997e-05/0.9283, allocations: 14.91 kB / 1.114 GB, free: 29.49 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 6.379e-05/0.9283, allocations: 110.8 kB / 1.114 GB, free: 29.38 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.695e-05/0.9284, allocations: 27.38 kB / 1.114 GB, free: 29.37 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005214/0.9289, allocations: 373 kB / 1.115 GB, free: 29.29 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.9289, allocations: 7.938 kB / 1.115 GB, free: 29.28 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.9289, allocations: 4 kB / 1.115 GB, free: 29.28 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.9289, allocations: 6.781 kB / 1.115 GB, free: 29.28 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001942/0.9291, allocations: 298.4 kB / 1.115 GB, free: 29.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.9291, allocations: 0 / 1.115 GB, free: 29.11 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001505/0.9293, allocations: 61.95 kB / 1.115 GB, free: 29.1 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.9293, allocations: 0 / 1.115 GB, free: 29.1 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/0.9293, allocations: 6.453 kB / 1.115 GB, free: 29.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.9293, allocations: 3.938 kB / 1.115 GB, free: 29.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.9293, allocations: 3.875 kB / 1.115 GB, free: 29.1 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003049/0.9296, allocations: 299.1 kB / 1.115 GB, free: 29.01 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003685/0.93, allocations: 0.6684 MB / 1.116 GB, free: 44.55 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/0.9301, allocations: 157.3 kB / 1.116 GB, free: 44.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.391e-05/0.9302, allocations: 0 / 1.116 GB, free: 44.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000148/0.9303, allocations: 17.77 kB / 1.116 GB, free: 44.43 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.501e-05/0.9304, allocations: 19.92 kB / 1.116 GB, free: 44.43 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.121e-05/0.9304, allocations: 14.44 kB / 1.116 GB, free: 44.43 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0001499/0.9306, allocations: 213.5 kB / 1.117 GB, free: 44.35 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0008391/0.9314, allocations: 65.3 kB / 1.117 GB, free: 44.34 MB / 0.7292 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.0005217/0.932, allocations: 312.7 kB / 1.117 GB, free: 44.16 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002586/0.9322, allocations: 206.9 kB / 1.117 GB, free: 44.16 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.9322, allocations: 3.875 kB / 1.117 GB, free: 44.16 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001236/0.9324, allocations: 116.5 kB / 1.117 GB, free: 44.15 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000182/0.9325, allocations: 26.12 kB / 1.117 GB, free: 44.14 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005676/0.9331, allocations: 398.8 kB / 1.118 GB, free: 44.02 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003797/0.9335, allocations: 0.8212 MB / 1.118 GB, free: 43.31 MB / 0.7292 GB Notification: Performance of SimCode: time 2.5e-07/0.9335, allocations: 0 / 1.118 GB, free: 43.31 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.fmu > Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1)