Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Pressure.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.Fluid.Sensors.Examples.Pressure,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_Pressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Pressure,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.411/1.411, allocations: 285.5 MB / 292.8 MB, free: 10.42 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.001012/0.001012, allocations: 177.3 kB / 361.1 MB, free: 7.078 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.234/1.234, allocations: 205.1 MB / 0.6195 GB, free: 10.29 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.0008865/0.0008866, allocations: 93.17 kB / 0.7325 GB, free: 44.22 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2252/0.2261, allocations: 121.4 MB / 0.8512 GB, free: 2.859 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5627/0.7889, allocations: 115.3 MB / 0.9637 GB, free: 78.13 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.118/3.907, allocations: 2.064 GB / 3.027 GB, free: 72.44 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002259/3.907, allocations: 84.89 kB / 3.027 GB, free: 72.36 MB / 0.948 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.9644/4.872, allocations: 343.6 MB / 3.363 GB, free: 111 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/4.872, allocations: 8.5 kB / 3.363 GB, free: 111 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004007/4.872, allocations: 67.48 kB / 3.363 GB, free: 110.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004811/4.873, allocations: 322.2 kB / 3.363 GB, free: 110.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/4.873, allocations: 8 kB / 3.363 GB, free: 110.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.562e-05/4.873, allocations: 12 kB / 3.363 GB, free: 110.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002247/4.873, allocations: 124.8 kB / 3.363 GB, free: 110.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002747/4.873, allocations: 251.8 kB / 3.364 GB, free: 110.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/4.873, allocations: 7.922 kB / 3.364 GB, free: 110.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/4.873, allocations: 3.938 kB / 3.364 GB, free: 110.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/4.873, allocations: 15.94 kB / 3.364 GB, free: 110.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001333/4.875, allocations: 1.667 MB / 3.365 GB, free: 108.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001599/4.875, allocations: 74.59 kB / 3.365 GB, free: 108.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.895e-05/4.875, allocations: 60.88 kB / 3.365 GB, free: 108.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002203/4.875, allocations: 186.2 kB / 3.366 GB, free: 108 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.29e-05/4.875, allocations: 42.41 kB / 3.366 GB, free: 107.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=11): time 2.134e-06/4.875, allocations: 3.984 kB / 3.366 GB, free: 107.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=11): time 0.0004344/4.876, allocations: 153.3 kB / 3.366 GB, free: 107.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.524e-05/4.876, allocations: 55.41 kB / 3.366 GB, free: 107.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001712/4.876, allocations: 223.6 kB / 3.366 GB, free: 107.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/4.876, allocations: 25.7 kB / 3.366 GB, free: 107.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.384e-05/4.876, allocations: 175.7 kB / 3.366 GB, free: 107.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.195e-05/4.876, allocations: 43.39 kB / 3.366 GB, free: 107.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.303e-06/4.876, allocations: 0 / 3.366 GB, free: 107.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.67e-05/4.876, allocations: 330.8 kB / 3.367 GB, free: 106.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.171e-05/4.876, allocations: 47.98 kB / 3.367 GB, free: 106.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001126/4.876, allocations: 180.2 kB / 3.367 GB, free: 106.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.019e-05/4.876, allocations: 67.91 kB / 3.367 GB, free: 106.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/4.876, allocations: 0 / 3.367 GB, free: 106.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002669/4.877, allocations: 205.3 kB / 3.367 GB, free: 106.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002071/4.877, allocations: 1.392 MB / 3.369 GB, free: 104.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/4.877, allocations: 4 kB / 3.369 GB, free: 104.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/4.877, allocations: 8 kB / 3.369 GB, free: 104.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001924/4.877, allocations: 51.91 kB / 3.369 GB, free: 104.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/4.877, allocations: 11.98 kB / 3.369 GB, free: 104.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002602/4.877, allocations: 35.73 kB / 3.369 GB, free: 104.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.184e-05/4.877, allocations: 12 kB / 3.369 GB, free: 104.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 6.262e-06/4.877, allocations: 4 kB / 3.369 GB, free: 104.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001888/4.878, allocations: 147.6 kB / 3.369 GB, free: 104.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.566e-06/4.878, allocations: 4 kB / 3.369 GB, free: 104.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.38e-06/4.878, allocations: 8 kB / 3.369 GB, free: 104.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001703/4.878, allocations: 52.31 kB / 3.369 GB, free: 104.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/4.878, allocations: 12 kB / 3.369 GB, free: 104.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002425/4.878, allocations: 27.83 kB / 3.369 GB, free: 104.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.105e-05/4.878, allocations: 15.98 kB / 3.369 GB, free: 104.4 MB / 0.948 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.568e-05/4.878, allocations: 116.8 kB / 3.369 GB, free: 104.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.146e-05/4.878, allocations: 23.72 kB / 3.369 GB, free: 104.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001932/4.878, allocations: 135.5 kB / 3.369 GB, free: 104.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/4.878, allocations: 4.266 kB / 3.369 GB, free: 104.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/4.878, allocations: 3.938 kB / 3.369 GB, free: 104.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/4.878, allocations: 0 / 3.369 GB, free: 104.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005474/4.879, allocations: 0.5474 MB / 3.37 GB, free: 103.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/4.879, allocations: 0 / 3.37 GB, free: 103.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001257/4.879, allocations: 31.92 kB / 3.37 GB, free: 103.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/4.879, allocations: 3.984 kB / 3.37 GB, free: 103.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/4.879, allocations: 8.219 kB / 3.37 GB, free: 103.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/4.879, allocations: 4 kB / 3.37 GB, free: 103.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/4.879, allocations: 4 kB / 3.37 GB, free: 103.5 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001886/4.879, allocations: 353.3 kB / 3.37 GB, free: 103 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003705/4.88, allocations: 0.7749 MB / 3.371 GB, free: 102.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.315e-05/4.88, allocations: 112.7 kB / 3.371 GB, free: 102.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.75e-05/4.88, allocations: 4 kB / 3.371 GB, free: 102 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002037/4.88, allocations: 19.98 kB / 3.371 GB, free: 102 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.931e-05/4.88, allocations: 15.89 kB / 3.371 GB, free: 102 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-06/4.88, allocations: 4 kB / 3.371 GB, free: 102 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0001061/4.88, allocations: 179.1 kB / 3.371 GB, free: 101.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002311/4.883, allocations: 0.5036 MB / 3.372 GB, free: 101.3 MB / 0.948 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.001577/4.884, allocations: 1.422 MB / 3.373 GB, free: 99.86 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002936/4.884, allocations: 201.3 kB / 3.373 GB, free: 99.67 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/4.884, allocations: 1.625 kB / 3.373 GB, free: 99.67 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 7.082e-05/4.885, allocations: 51.86 kB / 3.373 GB, free: 99.62 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005956/4.885, allocations: 108.9 kB / 3.373 GB, free: 99.52 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005955/4.886, allocations: 351.2 kB / 3.374 GB, free: 99.13 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002993/4.886, allocations: 0.8109 MB / 3.375 GB, free: 98.3 MB / 0.948 GB Notification: Performance of SimCode: time 7.02e-07/4.886, allocations: 0 / 3.375 GB, free: 98.3 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Pressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_Pressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_Pressure.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1)