Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Validation_BoundaryWithX_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 9.1.1-maint.9.1.x/package.mo): time 1.967/1.967, allocations: 387.2 MB / 394.5 MB, free: 13.26 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 183.7 kB / 487 MB, free: 0.707 MB / 378.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.304/1.304, allocations: 221.4 MB / 0.7819 GB, free: 6.746 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 106.1 kB / 0.9213 GB, free: 43.68 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 0.3171/0.3182, allocations: 148.5 MB / 1.066 GB, free: 7.473 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7601/1.078, allocations: 142.3 MB / 1.205 GB, free: 72.81 MB / 0.7917 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.951/7.03, allocations: 2.541 GB / 3.746 GB, free: 417.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002648/7.03, allocations: 85.69 kB / 3.746 GB, free: 417.9 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 4.813/11.84, allocations: 1.423 GB / 5.17 GB, free: 218.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/11.84, allocations: 13.98 kB / 5.17 GB, free: 218.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001812/11.84, allocations: 356.3 kB / 5.17 GB, free: 218.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00146/11.85, allocations: 0.94 MB / 5.171 GB, free: 218.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.296e-05/11.85, allocations: 36 kB / 5.171 GB, free: 218.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/11.85, allocations: 64.75 kB / 5.171 GB, free: 218.5 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001316/11.85, allocations: 0.9256 MB / 5.172 GB, free: 218.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001651/11.85, allocations: 1.319 MB / 5.173 GB, free: 218.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.541e-05/11.85, allocations: 6.531 kB / 5.173 GB, free: 218.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.733e-05/11.85, allocations: 3.906 kB / 5.173 GB, free: 218.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-05/11.85, allocations: 49.38 kB / 5.173 GB, free: 218.2 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00452/11.85, allocations: 5.056 MB / 5.178 GB, free: 215.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004931/11.85, allocations: 301.1 kB / 5.178 GB, free: 215.4 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002454/11.85, allocations: 258.4 kB / 5.179 GB, free: 215.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007662/11.86, allocations: 1.072 MB / 5.18 GB, free: 214.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/11.86, allocations: 33.88 kB / 5.18 GB, free: 214.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=28): time 2.224e-06/11.86, allocations: 0 / 5.18 GB, free: 214.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=28): time 0.001811/11.86, allocations: 0.5806 MB / 5.18 GB, free: 214.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.562e-05/11.86, allocations: 80.83 kB / 5.18 GB, free: 214 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006091/11.86, allocations: 0.5533 MB / 5.181 GB, free: 213.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/11.86, allocations: 25.7 kB / 5.181 GB, free: 213.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002097/11.86, allocations: 462.5 kB / 5.181 GB, free: 213.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 5.553e-05/11.86, allocations: 91.2 kB / 5.181 GB, free: 213.6 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.566e-05/11.86, allocations: 0 / 5.181 GB, free: 213.6 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 5.517e-05/11.86, allocations: 319 kB / 5.182 GB, free: 213.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001637/11.86, allocations: 150.8 kB / 5.182 GB, free: 213.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002495/11.86, allocations: 299 kB / 5.182 GB, free: 213.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003688/11.86, allocations: 229.4 kB / 5.182 GB, free: 213.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/11.86, allocations: 3.906 kB / 5.182 GB, free: 213.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006823/11.86, allocations: 494.4 kB / 5.183 GB, free: 213.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/11.86, allocations: 11.69 kB / 5.183 GB, free: 213.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/11.86, allocations: 5.156 kB / 5.183 GB, free: 213.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/11.86, allocations: 3.875 kB / 5.183 GB, free: 213.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000222/11.86, allocations: 54.2 kB / 5.183 GB, free: 213.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/11.86, allocations: 3.5 kB / 5.183 GB, free: 213.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003659/11.86, allocations: 22.14 kB / 5.183 GB, free: 213.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.924e-05/11.86, allocations: 29.39 kB / 5.183 GB, free: 213.1 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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.138e-05/11.86, allocations: 116.1 kB / 5.183 GB, free: 213 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/11.86, allocations: 80.34 kB / 5.183 GB, free: 213 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004662/11.86, allocations: 324.7 kB / 5.183 GB, free: 212.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/11.86, allocations: 3.75 kB / 5.183 GB, free: 212.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/11.86, allocations: 7.719 kB / 5.183 GB, free: 212.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/11.86, allocations: 0 / 5.183 GB, free: 212.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002741/11.86, allocations: 2.369 MB / 5.186 GB, free: 212.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/11.86, allocations: 7.781 kB / 5.186 GB, free: 212.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001826/11.86, allocations: 48.94 kB / 5.186 GB, free: 212.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.927e-06/11.86, allocations: 11.31 kB / 5.186 GB, free: 212.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.367e-05/11.86, allocations: 7.531 kB / 5.186 GB, free: 212.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.532e-06/11.86, allocations: 15.19 kB / 5.186 GB, free: 212.1 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.856e-06/11.86, allocations: 8.5 kB / 5.186 GB, free: 212.1 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006079/11.87, allocations: 0.8376 MB / 5.187 GB, free: 211.3 MB / 1.167 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008649/11.87, allocations: 1.289 MB / 5.188 GB, free: 210.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002518/11.87, allocations: 207.9 kB / 5.188 GB, free: 210.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/11.87, allocations: 7.812 kB / 5.188 GB, free: 210.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002642/11.87, allocations: 9.953 kB / 5.188 GB, free: 210.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.303e-05/11.87, allocations: 36.73 kB / 5.188 GB, free: 210.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.192e-05/11.87, allocations: 19.44 kB / 5.188 GB, free: 210.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.0005246/11.87, allocations: 468.5 kB / 5.189 GB, free: 210 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003161/11.87, allocations: 0.7147 MB / 5.189 GB, free: 210 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.005014/11.88, allocations: 2.449 MB / 5.192 GB, free: 209.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0006932/11.88, allocations: 331.5 kB / 5.192 GB, free: 209.4 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 8.806e-06/11.88, allocations: 0 / 5.192 GB, free: 209.4 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001684/11.88, allocations: 151.4 kB / 5.192 GB, free: 209.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002288/11.88, allocations: 420.5 kB / 5.193 GB, free: 209.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003025/11.88, allocations: 1.466 MB / 5.194 GB, free: 208.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009642/11.88, allocations: 1.29 MB / 5.195 GB, free: 208.1 MB / 1.167 GB Notification: Performance of SimCode: time 1.292e-06/11.88, allocations: 0 / 5.195 GB, free: 208.1 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Validation_BoundaryWithX_in_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Validation_BoundaryWithX_in.fmu > Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1)