Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Pressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Pressure,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_Pressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Pressure,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_Pressure",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 7.0.3-maint.7.0.x/package.mo): time 1.289/1.289, allocations: 249.4 MB / 256.7 MB, free: 7 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001017/0.001017, allocations: 189.2 kB / 316 MB, free: 3.535 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.371/1.371, allocations: 205.2 MB / 0.5667 GB, free: 15.64 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001028/0.001028, allocations: 86.28 kB / 0.671 GB, free: 4.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4019/0.403, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1726/0.5755, allocations: 106.3 MB / 0.8847 GB, free: 12.56 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.792/4.368, allocations: 2.183 GB / 3.067 GB, free: 222.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002236/4.368, allocations: 87.95 kB / 3.068 GB, free: 222.3 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.9137/5.282, allocations: 332.5 MB / 3.392 GB, free: 228.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/5.282, allocations: 9.625 kB / 3.392 GB, free: 228.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000356/5.282, allocations: 62.56 kB / 3.392 GB, free: 228.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000453/5.283, allocations: 320.9 kB / 3.393 GB, free: 228.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/5.283, allocations: 6.75 kB / 3.393 GB, free: 228.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.363e-05/5.283, allocations: 13.66 kB / 3.393 GB, free: 228.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002382/5.283, allocations: 121.4 kB / 3.393 GB, free: 228.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000305/5.283, allocations: 250.4 kB / 3.393 GB, free: 228.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/5.283, allocations: 5 kB / 3.393 GB, free: 228.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.844e-05/5.283, allocations: 1.125 kB / 3.393 GB, free: 228.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.768e-06/5.283, allocations: 5.875 kB / 3.393 GB, free: 228.2 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001306/5.285, allocations: 1.664 MB / 3.395 GB, free: 226.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001651/5.285, allocations: 75.78 kB / 3.395 GB, free: 226.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.71e-05/5.285, allocations: 62.84 kB / 3.395 GB, free: 226.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002529/5.285, allocations: 192.8 kB / 3.395 GB, free: 226.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.68e-05/5.285, allocations: 39.42 kB / 3.395 GB, free: 226.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=11): time 1.463e-06/5.285, allocations: 0 / 3.395 GB, free: 226.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11): time 0.0004784/5.286, allocations: 140.7 kB / 3.395 GB, free: 226.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.709e-05/5.286, allocations: 56.91 kB / 3.395 GB, free: 226.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002157/5.286, allocations: 212.9 kB / 3.395 GB, free: 226.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/5.286, allocations: 26.83 kB / 3.395 GB, free: 226 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.223e-05/5.286, allocations: 178.8 kB / 3.396 GB, free: 225.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.532e-05/5.286, allocations: 37.05 kB / 3.396 GB, free: 225.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.256e-06/5.286, allocations: 3.938 kB / 3.396 GB, free: 225.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.165e-05/5.286, allocations: 336.3 kB / 3.396 GB, free: 225.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.543e-05/5.286, allocations: 38.58 kB / 3.396 GB, free: 225.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001471/5.286, allocations: 167.9 kB / 3.396 GB, free: 225.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001092/5.286, allocations: 73.3 kB / 3.396 GB, free: 225.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/5.286, allocations: 1.125 kB / 3.396 GB, free: 225.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002989/5.287, allocations: 198.7 kB / 3.396 GB, free: 225.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002591/5.287, allocations: 1.401 MB / 3.398 GB, free: 223.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/5.287, allocations: 3.125 kB / 3.398 GB, free: 223.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/5.287, allocations: 8.312 kB / 3.398 GB, free: 223.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002331/5.287, allocations: 54.84 kB / 3.398 GB, free: 223.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/5.287, allocations: 5.156 kB / 3.398 GB, free: 223.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002712/5.288, allocations: 38.05 kB / 3.398 GB, free: 223.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.641e-05/5.288, allocations: 15.98 kB / 3.398 GB, free: 223.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.54e-06/5.288, allocations: 4 kB / 3.398 GB, free: 223.6 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001746/5.288, allocations: 139.6 kB / 3.398 GB, free: 223.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.046e-06/5.288, allocations: 4 kB / 3.398 GB, free: 223.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.489e-06/5.288, allocations: 8.406 kB / 3.398 GB, free: 223.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001663/5.288, allocations: 51.91 kB / 3.398 GB, free: 223.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/5.288, allocations: 8 kB / 3.398 GB, free: 223.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002271/5.288, allocations: 35.81 kB / 3.398 GB, free: 223.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.991e-05/5.288, allocations: 16 kB / 3.398 GB, free: 223.3 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.228e-05/5.288, allocations: 116.8 kB / 3.398 GB, free: 223.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.035e-05/5.288, allocations: 27.56 kB / 3.398 GB, free: 223.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001927/5.289, allocations: 138.6 kB / 3.398 GB, free: 223 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/5.289, allocations: 4 kB / 3.398 GB, free: 223 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/5.289, allocations: 4 kB / 3.398 GB, free: 223 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/5.289, allocations: 0 / 3.398 GB, free: 223 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006083/5.289, allocations: 0.528 MB / 3.399 GB, free: 222.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/5.289, allocations: 3.938 kB / 3.399 GB, free: 222.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001258/5.289, allocations: 36.19 kB / 3.399 GB, free: 222.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/5.289, allocations: 4 kB / 3.399 GB, free: 222.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/5.289, allocations: 0 / 3.399 GB, free: 222.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/5.289, allocations: 4 kB / 3.399 GB, free: 222.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/5.289, allocations: 4.078 kB / 3.399 GB, free: 222.4 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002253/5.29, allocations: 356 kB / 3.399 GB, free: 222 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000556/5.29, allocations: 0.7766 MB / 3.4 GB, free: 221.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.956e-05/5.29, allocations: 108.8 kB / 3.4 GB, free: 221 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.831e-05/5.29, allocations: 4 kB / 3.4 GB, free: 221 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002021/5.291, allocations: 19.92 kB / 3.4 GB, free: 220.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.165e-05/5.291, allocations: 19.89 kB / 3.4 GB, free: 220.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/5.291, allocations: 4 kB / 3.4 GB, free: 220.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0001087/5.291, allocations: 171.1 kB / 3.4 GB, free: 220.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002371/5.293, allocations: 0.4997 MB / 3.401 GB, free: 220.3 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.00157/5.295, allocations: 1.442 MB / 3.402 GB, free: 218.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003116/5.295, allocations: 200.6 kB / 3.402 GB, free: 218.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/5.295, allocations: 8.125 kB / 3.402 GB, free: 218.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 6.617e-05/5.295, allocations: 43.92 kB / 3.402 GB, free: 218.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000598/5.296, allocations: 93.33 kB / 3.403 GB, free: 218.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000652/5.296, allocations: 346.8 kB / 3.403 GB, free: 218.2 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002805/5.297, allocations: 0.807 MB / 3.404 GB, free: 217.4 MB / 0.8698 GB Notification: Performance of SimCode: time 2.3e-07/5.297, allocations: 0 / 3.404 GB, free: 217.4 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Pressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_Pressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_Pressure.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1)