Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.183/2.183, allocations: 390.4 MB / 397.7 MB, free: 11.27 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 187.8 kB / 490.8 MB, free: 1.906 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.322/1.322, allocations: 221.3 MB / 0.7863 GB, free: 13.62 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009931/0.0009928, allocations: 99.66 kB / 0.9264 GB, free: 14.15 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.6192/0.6202, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2655/0.8857, allocations: 143 MB / 1.212 GB, free: 39.99 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.574/6.46, allocations: 2.542 GB / 3.753 GB, free: 219.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002557/6.461, allocations: 79.95 kB / 3.754 GB, free: 219.1 MB / 1.151 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.793/11.25, allocations: 1.423 GB / 5.177 GB, free: 100.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.905e-05/11.25, allocations: 12 kB / 5.177 GB, free: 100.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002839/11.26, allocations: 353.8 kB / 5.177 GB, free: 99.85 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002527/11.26, allocations: 0.9379 MB / 5.178 GB, free: 98.87 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.327e-05/11.26, allocations: 32 kB / 5.178 GB, free: 98.84 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004101/11.26, allocations: 63.91 kB / 5.178 GB, free: 98.78 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002167/11.26, allocations: 0.9256 MB / 5.179 GB, free: 97.85 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00282/11.26, allocations: 1.3 MB / 5.18 GB, free: 96.45 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.274e-05/11.26, allocations: 3.938 kB / 5.18 GB, free: 96.45 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001421/11.26, allocations: 4 kB / 5.18 GB, free: 96.44 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.943e-05/11.26, allocations: 49.8 kB / 5.18 GB, free: 96.39 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006739/11.27, allocations: 5.031 MB / 5.185 GB, free: 91.12 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005194/11.27, allocations: 305 kB / 5.185 GB, free: 90.8 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002674/11.27, allocations: 252.7 kB / 5.186 GB, free: 90.55 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008491/11.27, allocations: 1.071 MB / 5.187 GB, free: 89.26 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/11.27, allocations: 38.56 kB / 5.187 GB, free: 89.21 MB / 1.167 GB Notification: Performance of pre-optimization done (n=28): time 2.905e-06/11.27, allocations: 4 kB / 5.187 GB, free: 89.21 MB / 1.167 GB Notification: Performance of matching and sorting (n=28): time 0.002059/11.28, allocations: 0.571 MB / 5.187 GB, free: 88.63 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.833e-05/11.28, allocations: 82.64 kB / 5.187 GB, free: 88.53 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006564/11.28, allocations: 0.5554 MB / 5.188 GB, free: 87.97 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.917e-05/11.28, allocations: 33.7 kB / 5.188 GB, free: 87.93 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002076/11.28, allocations: 466.4 kB / 5.188 GB, free: 87.46 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 5.653e-05/11.28, allocations: 86.66 kB / 5.189 GB, free: 87.38 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.662e-05/11.28, allocations: 0 / 5.189 GB, free: 87.38 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 5.924e-05/11.28, allocations: 322 kB / 5.189 GB, free: 87.06 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001711/11.28, allocations: 152.7 kB / 5.189 GB, free: 86.91 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002583/11.28, allocations: 317 kB / 5.189 GB, free: 86.54 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000397/11.28, allocations: 231.7 kB / 5.19 GB, free: 86.31 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/11.28, allocations: 3.906 kB / 5.19 GB, free: 86.31 MB / 1.167 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0008066/11.28, allocations: 0.5006 MB / 5.19 GB, free: 85.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/11.28, allocations: 11.91 kB / 5.19 GB, free: 85.79 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/11.28, allocations: 3.938 kB / 5.19 GB, free: 85.79 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/11.28, allocations: 4 kB / 5.19 GB, free: 85.78 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002366/11.28, allocations: 63.91 kB / 5.19 GB, free: 85.72 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/11.28, allocations: 7.938 kB / 5.19 GB, free: 85.71 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004147/11.28, allocations: 28.05 kB / 5.19 GB, free: 85.68 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.494e-05/11.28, allocations: 28 kB / 5.19 GB, free: 85.66 MB / 1.167 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 9.733e-05/11.28, allocations: 116.8 kB / 5.19 GB, free: 85.54 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000117/11.28, allocations: 75.06 kB / 5.19 GB, free: 85.46 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004884/11.28, allocations: 329.9 kB / 5.191 GB, free: 85.12 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/11.28, allocations: 0 / 5.191 GB, free: 85.12 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/11.28, allocations: 7.906 kB / 5.191 GB, free: 85.12 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/11.28, allocations: 3.984 kB / 5.191 GB, free: 85.11 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002597/11.28, allocations: 2.348 MB / 5.193 GB, free: 82.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.151e-06/11.28, allocations: 8 kB / 5.193 GB, free: 82.59 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001843/11.28, allocations: 51.92 kB / 5.193 GB, free: 82.54 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/11.28, allocations: 8 kB / 5.193 GB, free: 82.54 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.315e-05/11.28, allocations: 8 kB / 5.193 GB, free: 82.53 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.755e-06/11.28, allocations: 19.83 kB / 5.193 GB, free: 82.51 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/11.28, allocations: 8.031 kB / 5.193 GB, free: 82.5 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005883/11.28, allocations: 0.831 MB / 5.194 GB, free: 81.42 MB / 1.167 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000838/11.28, allocations: 1.293 MB / 5.195 GB, free: 79.88 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000238/11.28, allocations: 204 kB / 5.195 GB, free: 79.66 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/11.28, allocations: 8 kB / 5.195 GB, free: 79.65 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002618/11.28, allocations: 19.89 kB / 5.195 GB, free: 79.63 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.882e-05/11.28, allocations: 31.83 kB / 5.195 GB, free: 79.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-05/11.28, allocations: 16 kB / 5.195 GB, free: 79.58 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.0004065/11.29, allocations: 475 kB / 5.196 GB, free: 79.12 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002406/11.29, allocations: 0.7133 MB / 5.197 GB, free: 78.41 MB / 1.167 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.003835/11.29, allocations: 2.442 MB / 5.199 GB, free: 75.88 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0004579/11.29, allocations: 335.6 kB / 5.199 GB, free: 75.55 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/11.29, allocations: 4 kB / 5.199 GB, free: 75.55 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001513/11.29, allocations: 149.1 kB / 5.199 GB, free: 75.41 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001764/11.29, allocations: 432.8 kB / 5.2 GB, free: 74.99 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002402/11.3, allocations: 1.443 MB / 5.201 GB, free: 73.43 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000798/11.3, allocations: 1.285 MB / 5.202 GB, free: 72.12 MB / 1.167 GB Notification: Performance of SimCode: time 2.6e-07/11.3, allocations: 0 / 5.202 GB, free: 72.12 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.fmu > Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1)