Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Pressure.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.Fluid.Sensors.Examples.Pressure,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_Pressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Pressure,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.603/2.603, allocations: 284.8 MB / 292.1 MB, free: 1.168 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001568/0.001567, allocations: 188.6 kB / 360.3 MB, free: 15.54 MB / 290.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.928/1.928, allocations: 205.1 MB / 0.6187 GB, free: 6.391 MB / 466.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001243/0.001243, allocations: 92.83 kB / 0.7317 GB, free: 47.2 MB / 0.5184 GB Notification: Performance of FrontEnd - loaded program: time 0.2838/0.2851, allocations: 121.4 MB / 0.8502 GB, free: 13.39 MB / 0.5965 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.659/0.9442, allocations: 115.2 MB / 0.9627 GB, free: 86.2 MB / 0.6746 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.953/5.897, allocations: 2.063 GB / 3.026 GB, free: 26.83 MB / 0.9402 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004607/5.898, allocations: 89.64 kB / 3.026 GB, free: 26.79 MB / 0.9402 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 1.68/7.578, allocations: 343.6 MB / 3.362 GB, free: 63.36 MB / 0.9402 GB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/7.578, allocations: 12 kB / 3.362 GB, free: 63.35 MB / 0.9402 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005058/7.578, allocations: 67.47 kB / 3.362 GB, free: 63.29 MB / 0.9402 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007437/7.579, allocations: 330.1 kB / 3.362 GB, free: 62.92 MB / 0.9402 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/7.579, allocations: 8 kB / 3.362 GB, free: 62.91 MB / 0.9402 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.261e-05/7.579, allocations: 12 kB / 3.362 GB, free: 62.9 MB / 0.9402 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003746/7.58, allocations: 116.8 kB / 3.362 GB, free: 62.78 MB / 0.9402 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004683/7.58, allocations: 253.2 kB / 3.363 GB, free: 62.5 MB / 0.9402 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/7.58, allocations: 3.938 kB / 3.363 GB, free: 62.5 MB / 0.9402 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.885e-05/7.58, allocations: 0 / 3.363 GB, free: 62.5 MB / 0.9402 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.262e-05/7.58, allocations: 11.91 kB / 3.363 GB, free: 62.48 MB / 0.9402 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002167/7.582, allocations: 1.678 MB / 3.364 GB, free: 60.7 MB / 0.9402 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002742/7.583, allocations: 70.62 kB / 3.364 GB, free: 60.62 MB / 0.9402 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000146/7.583, allocations: 56.84 kB / 3.364 GB, free: 60.57 MB / 0.9402 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000395/7.583, allocations: 194.2 kB / 3.364 GB, free: 60.34 MB / 0.9402 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/7.583, allocations: 42.5 kB / 3.365 GB, free: 60.29 MB / 0.9402 GB Notification: Performance of pre-optimization done (n=11): time 2.304e-06/7.583, allocations: 0 / 3.365 GB, free: 60.29 MB / 0.9402 GB Notification: Performance of matching and sorting (n=11): time 0.0007409/7.584, allocations: 149.5 kB / 3.365 GB, free: 60.14 MB / 0.9402 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.595e-05/7.584, allocations: 51.41 kB / 3.365 GB, free: 60.07 MB / 0.9402 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003085/7.584, allocations: 223.3 kB / 3.365 GB, free: 59.85 MB / 0.9402 GB Notification: Performance of collectPreVariables (initialization): time 2.732e-05/7.584, allocations: 25.7 kB / 3.365 GB, free: 59.82 MB / 0.9402 GB Notification: Performance of collectInitialEqns (initialization): time 9.931e-05/7.585, allocations: 179.7 kB / 3.365 GB, free: 59.64 MB / 0.9402 GB Notification: Performance of collectInitialBindings (initialization): time 3.376e-05/7.585, allocations: 35.47 kB / 3.365 GB, free: 59.61 MB / 0.9402 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.237e-05/7.585, allocations: 0 / 3.365 GB, free: 59.61 MB / 0.9402 GB Notification: Performance of setup shared object (initialization): time 8.737e-05/7.585, allocations: 334.8 kB / 3.365 GB, free: 59.27 MB / 0.9402 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001106/7.585, allocations: 39.98 kB / 3.366 GB, free: 59.23 MB / 0.9402 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002205/7.585, allocations: 194.4 kB / 3.366 GB, free: 58.97 MB / 0.9402 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001599/7.585, allocations: 71.8 kB / 3.366 GB, free: 58.9 MB / 0.9402 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/7.585, allocations: 0 / 3.366 GB, free: 58.9 MB / 0.9402 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004438/7.586, allocations: 201.1 kB / 3.366 GB, free: 58.7 MB / 0.9402 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003123/7.586, allocations: 1.395 MB / 3.367 GB, free: 57.2 MB / 0.9402 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/7.586, allocations: 4 kB / 3.367 GB, free: 57.19 MB / 0.9402 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.362e-05/7.586, allocations: 7.906 kB / 3.367 GB, free: 57.18 MB / 0.9402 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004003/7.587, allocations: 55.91 kB / 3.367 GB, free: 57.13 MB / 0.9402 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/7.587, allocations: 4 kB / 3.367 GB, free: 57.12 MB / 0.9402 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000491/7.587, allocations: 31.83 kB / 3.367 GB, free: 57.09 MB / 0.9402 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.083e-05/7.587, allocations: 19.98 kB / 3.367 GB, free: 57.07 MB / 0.9402 GB Notification: Performance of prepare postOptimizeDAE: time 8.466e-06/7.587, allocations: 4 kB / 3.367 GB, free: 57.07 MB / 0.9402 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003843/7.588, allocations: 139.9 kB / 3.368 GB, free: 56.93 MB / 0.9402 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/7.588, allocations: 4.406 kB / 3.368 GB, free: 56.93 MB / 0.9402 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.564e-06/7.588, allocations: 8 kB / 3.368 GB, free: 56.92 MB / 0.9402 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003441/7.588, allocations: 51.95 kB / 3.368 GB, free: 56.87 MB / 0.9402 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/7.588, allocations: 4 kB / 3.368 GB, free: 56.87 MB / 0.9402 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004356/7.588, allocations: 39.8 kB / 3.368 GB, free: 56.83 MB / 0.9402 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.287e-05/7.588, allocations: 19.91 kB / 3.368 GB, free: 56.81 MB / 0.9402 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 0.000113/7.589, allocations: 112.9 kB / 3.368 GB, free: 56.69 MB / 0.9402 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.954e-05/7.589, allocations: 27.66 kB / 3.368 GB, free: 56.66 MB / 0.9402 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003937/7.589, allocations: 129.2 kB / 3.368 GB, free: 56.53 MB / 0.9402 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/7.589, allocations: 0 / 3.368 GB, free: 56.53 MB / 0.9402 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/7.589, allocations: 0 / 3.368 GB, free: 56.53 MB / 0.9402 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/7.589, allocations: 11.84 kB / 3.368 GB, free: 56.52 MB / 0.9402 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001006/7.59, allocations: 0.5319 MB / 3.369 GB, free: 55.92 MB / 0.9402 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/7.59, allocations: 0 / 3.369 GB, free: 55.92 MB / 0.9402 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002476/7.59, allocations: 40.14 kB / 3.369 GB, free: 55.88 MB / 0.9402 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.344e-06/7.59, allocations: 4 kB / 3.369 GB, free: 55.88 MB / 0.9402 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.467e-05/7.59, allocations: 0 / 3.369 GB, free: 55.88 MB / 0.9402 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/7.59, allocations: 4 kB / 3.369 GB, free: 55.88 MB / 0.9402 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/7.59, allocations: 96 / 3.369 GB, free: 55.88 MB / 0.9402 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003312/7.591, allocations: 367 kB / 3.369 GB, free: 55.44 MB / 0.9402 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000834/7.592, allocations: 0.7775 MB / 3.37 GB, free: 54.58 MB / 0.9402 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001465/7.592, allocations: 108.8 kB / 3.37 GB, free: 54.45 MB / 0.9402 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.996e-05/7.592, allocations: 4 kB / 3.37 GB, free: 54.45 MB / 0.9402 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003726/7.592, allocations: 23.91 kB / 3.37 GB, free: 54.43 MB / 0.9402 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.27e-05/7.592, allocations: 11.91 kB / 3.37 GB, free: 54.41 MB / 0.9402 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.572e-05/7.592, allocations: 4 kB / 3.37 GB, free: 54.41 MB / 0.9402 GB Notification: Performance of sort global known variables: time 0.0002162/7.593, allocations: 179.1 kB / 3.37 GB, free: 54.23 MB / 0.9402 GB Notification: Performance of remove unused functions: time 0.003549/7.596, allocations: 0.5113 MB / 3.37 GB, free: 53.72 MB / 0.9402 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.002418/7.599, allocations: 1.425 MB / 3.372 GB, free: 52.27 MB / 0.9402 GB Notification: Performance of simCode: created initialization part: time 0.0007502/7.599, allocations: 198.5 kB / 3.372 GB, free: 52.07 MB / 0.9402 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/7.599, allocations: 4.125 kB / 3.372 GB, free: 52.07 MB / 0.9402 GB Notification: Performance of simCode: created simulation system equations: time 0.0001391/7.6, allocations: 47.86 kB / 3.372 GB, free: 52.02 MB / 0.9402 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001229/7.601, allocations: 103.9 kB / 3.372 GB, free: 51.92 MB / 0.9402 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001048/7.602, allocations: 346.2 kB / 3.373 GB, free: 51.54 MB / 0.9402 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003853/7.602, allocations: 0.821 MB / 3.373 GB, free: 50.69 MB / 0.9402 GB Notification: Performance of SimCode: time 1.493e-06/7.602, allocations: 0 / 3.373 GB, free: 50.69 MB / 0.9402 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Pressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_Pressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_Pressure.fmu > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1)