Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in,fileNamePrefix="Buildings_8_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in,fileNamePrefix="Buildings_8_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in",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.1.4-maint.8.1.x/package.mo): time 1.535/1.535, allocations: 289.8 MB / 297.1 MB, free: 6.609 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.001087/0.001087, allocations: 181.3 kB / 366.3 MB, free: 1.945 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.554/1.554, allocations: 205.1 MB / 0.6256 GB, free: 5.809 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.0009429/0.000943, allocations: 85.62 kB / 0.7395 GB, free: 39.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.283/0.284, allocations: 122.4 MB / 0.8591 GB, free: 13.26 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6712/0.9552, allocations: 116.3 MB / 0.9726 GB, free: 68.2 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.927/6.883, allocations: 2.754 GB / 3.726 GB, free: 5.664 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000314/6.883, allocations: 89.2 kB / 3.726 GB, free: 5.617 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 4.952/11.84, allocations: 1.411 GB / 5.137 GB, free: 40.96 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/11.84, allocations: 12 kB / 5.137 GB, free: 40.95 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002448/11.84, allocations: 349.8 kB / 5.138 GB, free: 40.61 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002153/11.84, allocations: 0.9354 MB / 5.139 GB, free: 39.63 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.037e-05/11.84, allocations: 35.94 kB / 5.139 GB, free: 39.59 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000299/11.84, allocations: 64 kB / 5.139 GB, free: 39.53 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001808/11.84, allocations: 0.9255 MB / 5.14 GB, free: 38.6 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002293/11.84, allocations: 1.3 MB / 5.141 GB, free: 37.2 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.68e-05/11.84, allocations: 3.938 kB / 5.141 GB, free: 37.2 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001397/11.84, allocations: 4 kB / 5.141 GB, free: 37.2 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-05/11.84, allocations: 49.8 kB / 5.141 GB, free: 37.14 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005806/11.85, allocations: 5.032 MB / 5.146 GB, free: 31.87 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005464/11.85, allocations: 301 kB / 5.146 GB, free: 31.55 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002879/11.85, allocations: 254.9 kB / 5.146 GB, free: 31.3 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008836/11.85, allocations: 0.9653 MB / 5.147 GB, free: 30.15 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/11.85, allocations: 38.78 kB / 5.147 GB, free: 30.11 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=28): time 3.567e-06/11.85, allocations: 3.938 kB / 5.147 GB, free: 30.1 MB / 0.9636 GB Notification: Performance of matching and sorting (n=28): time 0.002025/11.85, allocations: 0.5431 MB / 5.148 GB, free: 29.55 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.137e-05/11.85, allocations: 81.11 kB / 5.148 GB, free: 29.45 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007902/11.86, allocations: 0.559 MB / 5.148 GB, free: 28.88 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 7.486e-05/11.86, allocations: 29.7 kB / 5.149 GB, free: 28.85 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002505/11.86, allocations: 466.4 kB / 5.149 GB, free: 28.38 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 6.882e-05/11.86, allocations: 86.66 kB / 5.149 GB, free: 28.3 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.684e-05/11.86, allocations: 0 / 5.149 GB, free: 28.3 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.205e-05/11.86, allocations: 325.9 kB / 5.149 GB, free: 27.97 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001755/11.86, allocations: 147.9 kB / 5.149 GB, free: 27.83 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002687/11.86, allocations: 317.8 kB / 5.15 GB, free: 27.46 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002583/11.86, allocations: 199.8 kB / 5.15 GB, free: 27.26 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/11.86, allocations: 0 / 5.15 GB, free: 27.26 MB / 0.9636 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006981/11.86, allocations: 488.3 kB / 5.15 GB, free: 26.78 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/11.86, allocations: 8 kB / 5.15 GB, free: 26.77 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/11.86, allocations: 3.984 kB / 5.15 GB, free: 26.77 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.067e-05/11.86, allocations: 4 kB / 5.15 GB, free: 26.76 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002402/11.86, allocations: 63.86 kB / 5.151 GB, free: 26.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/11.86, allocations: 4 kB / 5.151 GB, free: 26.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004458/11.86, allocations: 28.08 kB / 5.151 GB, free: 26.67 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.178e-05/11.86, allocations: 35.92 kB / 5.151 GB, free: 26.63 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * 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.0001015/11.86, allocations: 112.8 kB / 5.151 GB, free: 26.52 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001511/11.86, allocations: 75.06 kB / 5.151 GB, free: 26.44 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005048/11.86, allocations: 325.9 kB / 5.151 GB, free: 26.11 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/11.86, allocations: 7.906 kB / 5.151 GB, free: 26.1 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/11.86, allocations: 4 kB / 5.151 GB, free: 26.1 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/11.86, allocations: 0 / 5.151 GB, free: 26.1 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00267/11.86, allocations: 2.348 MB / 5.153 GB, free: 23.59 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/11.86, allocations: 8 kB / 5.153 GB, free: 23.58 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001878/11.86, allocations: 51.92 kB / 5.153 GB, free: 23.53 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.787e-06/11.86, allocations: 8 kB / 5.153 GB, free: 23.52 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.137e-05/11.86, allocations: 11.91 kB / 5.153 GB, free: 23.51 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.141e-06/11.86, allocations: 15.92 kB / 5.153 GB, free: 23.49 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/11.86, allocations: 11.97 kB / 5.153 GB, free: 23.48 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005445/11.86, allocations: 0.8346 MB / 5.154 GB, free: 22.4 MB / 0.9636 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008022/11.86, allocations: 1.294 MB / 5.156 GB, free: 20.85 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002601/11.86, allocations: 200.1 kB / 5.156 GB, free: 20.64 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001078/11.86, allocations: 11.98 kB / 5.156 GB, free: 20.62 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002667/11.86, allocations: 19.84 kB / 5.156 GB, free: 20.61 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/11.86, allocations: 27.83 kB / 5.156 GB, free: 20.58 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.5e-05/11.86, allocations: 16 kB / 5.156 GB, free: 20.56 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.0004412/11.86, allocations: 479.1 kB / 5.156 GB, free: 20.1 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.002776/11.87, allocations: 0.768 MB / 5.157 GB, free: 19.33 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * 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.003842/11.87, allocations: 2.591 MB / 5.16 GB, free: 16.66 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0005165/11.87, allocations: 344 kB / 5.16 GB, free: 16.32 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/11.87, allocations: 4 kB / 5.16 GB, free: 16.32 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001479/11.87, allocations: 153.6 kB / 5.16 GB, free: 16.17 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001916/11.87, allocations: 422.1 kB / 5.16 GB, free: 15.76 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00282/11.88, allocations: 1.447 MB / 5.162 GB, free: 14.2 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000906/11.88, allocations: 1.284 MB / 5.163 GB, free: 12.89 MB / 0.9636 GB Notification: Performance of SimCode: time 5.01e-07/11.88, allocations: 0 / 5.163 GB, free: 12.89 MB / 0.9636 GB (rm -f Buildings_8_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe >> ../files/Buildings_8_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.fmu > Buildings_8_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1)