Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.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.Sources.Validation.BoundaryWithXi_in,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.388/1.388, allocations: 285.5 MB / 292.8 MB, free: 10.45 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.00105/0.00105, allocations: 179.5 kB / 361.1 MB, free: 7.105 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.124/1.124, allocations: 205.1 MB / 0.6195 GB, free: 10.27 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.0008842/0.0008841, allocations: 98.66 kB / 0.7326 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2074/0.2083, allocations: 121.4 MB / 0.8511 GB, free: 2.871 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5097/0.718, allocations: 115.3 MB / 0.9637 GB, free: 77.95 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.296/5.015, allocations: 2.753 GB / 3.717 GB, free: 97.11 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002282/5.015, allocations: 85.92 kB / 3.717 GB, free: 97.03 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.349/9.364, allocations: 1.411 GB / 5.127 GB, free: 143.6 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/9.364, allocations: 8.5 kB / 5.127 GB, free: 143.6 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002123/9.366, allocations: 357.8 kB / 5.128 GB, free: 143.2 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001872/9.368, allocations: 0.9333 MB / 5.129 GB, free: 142.3 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.023e-05/9.368, allocations: 35.34 kB / 5.129 GB, free: 142.2 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001104/9.368, allocations: 60 kB / 5.129 GB, free: 142.2 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001303/9.37, allocations: 0.9178 MB / 5.13 GB, free: 141.2 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001538/9.371, allocations: 1.305 MB / 5.131 GB, free: 139.9 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.415e-05/9.371, allocations: 3.938 kB / 5.131 GB, free: 139.8 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.764e-05/9.371, allocations: 4 kB / 5.131 GB, free: 139.8 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.744e-05/9.371, allocations: 53.17 kB / 5.131 GB, free: 139.8 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004358/9.376, allocations: 5.035 MB / 5.136 GB, free: 134.6 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004649/9.376, allocations: 308.9 kB / 5.136 GB, free: 134.3 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000238/9.376, allocations: 252.9 kB / 5.137 GB, free: 134 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007918/9.377, allocations: 0.9679 MB / 5.137 GB, free: 132.9 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/9.377, allocations: 34.56 kB / 5.137 GB, free: 132.8 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=28): time 2.544e-06/9.377, allocations: 0 / 5.137 GB, free: 132.8 MB / 0.9636 GB Notification: Performance of matching and sorting (n=28): time 0.00158/9.379, allocations: 0.5468 MB / 5.138 GB, free: 132.3 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.57e-05/9.379, allocations: 81.11 kB / 5.138 GB, free: 132.2 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000546/9.379, allocations: 0.559 MB / 5.139 GB, free: 131.6 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 3.181e-05/9.379, allocations: 25.7 kB / 5.139 GB, free: 131.6 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001705/9.38, allocations: 466.4 kB / 5.139 GB, free: 131.1 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 4.761e-05/9.38, allocations: 90.56 kB / 5.139 GB, free: 131 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.536e-05/9.38, allocations: 3.812 kB / 5.139 GB, free: 131 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 5.266e-05/9.38, allocations: 318 kB / 5.14 GB, free: 130.7 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000156/9.38, allocations: 155.9 kB / 5.14 GB, free: 130.6 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002423/9.38, allocations: 309.6 kB / 5.14 GB, free: 130.2 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002262/9.38, allocations: 210.1 kB / 5.14 GB, free: 130 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/9.38, allocations: 0 / 5.14 GB, free: 130 MB / 0.9636 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005475/9.381, allocations: 487.1 kB / 5.141 GB, free: 129.5 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/9.381, allocations: 4 kB / 5.141 GB, free: 129.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/9.381, allocations: 4 kB / 5.141 GB, free: 129.5 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/9.381, allocations: 4 kB / 5.141 GB, free: 129.5 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002263/9.381, allocations: 59.91 kB / 5.141 GB, free: 129.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/9.381, allocations: 7.281 kB / 5.141 GB, free: 129.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000362/9.382, allocations: 27.73 kB / 5.141 GB, free: 129.4 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.293e-05/9.382, allocations: 28 kB / 5.141 GB, free: 129.4 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 8.247e-05/9.382, allocations: 112.9 kB / 5.141 GB, free: 129.3 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/9.382, allocations: 82.58 kB / 5.141 GB, free: 129.2 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004456/9.382, allocations: 332 kB / 5.141 GB, free: 128.9 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/9.382, allocations: 4 kB / 5.141 GB, free: 128.9 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/9.382, allocations: 0 / 5.141 GB, free: 128.9 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/9.382, allocations: 7.641 kB / 5.141 GB, free: 128.9 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002426/9.385, allocations: 2.351 MB / 5.144 GB, free: 126.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/9.385, allocations: 4 kB / 5.144 GB, free: 126.4 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000182/9.385, allocations: 51.92 kB / 5.144 GB, free: 126.3 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.885e-06/9.385, allocations: 8 kB / 5.144 GB, free: 126.3 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.127e-05/9.385, allocations: 11.25 kB / 5.144 GB, free: 126.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.732e-06/9.385, allocations: 19.86 kB / 5.144 GB, free: 126.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/9.385, allocations: 11.94 kB / 5.144 GB, free: 126.3 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005332/9.386, allocations: 0.8313 MB / 5.144 GB, free: 125.2 MB / 0.9636 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007741/9.386, allocations: 1.292 MB / 5.146 GB, free: 123.7 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002073/9.387, allocations: 211.8 kB / 5.146 GB, free: 123.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/9.387, allocations: 8 kB / 5.146 GB, free: 123.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002721/9.387, allocations: 15.92 kB / 5.146 GB, free: 123.5 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.093e-05/9.387, allocations: 31.58 kB / 5.146 GB, free: 123.4 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.123e-05/9.387, allocations: 12 kB / 5.146 GB, free: 123.4 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.0004204/9.387, allocations: 479 kB / 5.146 GB, free: 123 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.002352/9.39, allocations: 0.7641 MB / 5.147 GB, free: 122.2 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.003502/9.393, allocations: 2.581 MB / 5.15 GB, free: 120 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0004282/9.394, allocations: 342.9 kB / 5.15 GB, free: 119.7 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/9.394, allocations: 0 / 5.15 GB, free: 119.7 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001438/9.394, allocations: 157.7 kB / 5.15 GB, free: 119.5 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001766/9.396, allocations: 434.8 kB / 5.151 GB, free: 119.1 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002304/9.398, allocations: 1.444 MB / 5.152 GB, free: 117.6 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007151/9.399, allocations: 1.288 MB / 5.153 GB, free: 116.3 MB / 0.9636 GB Notification: Performance of SimCode: time 3.61e-07/9.399, allocations: 0 / 5.153 GB, free: 116.3 MB / 0.9636 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1)