Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sources.Validation.Boundary.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.Boundary,fileNamePrefix="Buildings_8_Buildings_Fluid_Sources_Validation_Boundary",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.Boundary,fileNamePrefix="Buildings_8_Buildings_Fluid_Sources_Validation_Boundary",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.561/1.561, allocations: 289.8 MB / 297.1 MB, free: 6.668 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.00111/0.00111, allocations: 181.3 kB / 366.3 MB, free: 2.004 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.678/1.678, allocations: 205.1 MB / 0.6256 GB, free: 5.844 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.001084/0.001085, allocations: 96.58 kB / 0.7395 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3257/0.3268, allocations: 122.4 MB / 0.8591 GB, free: 13.28 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7566/1.083, allocations: 116.3 MB / 0.9726 GB, free: 68.31 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.076/7.16, allocations: 3.09 GB / 4.063 GB, free: 99.82 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002942/7.16, allocations: 80.7 kB / 4.063 GB, free: 99.74 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: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 6.324/13.48, allocations: 1.756 GB / 5.818 GB, free: 127.7 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/13.48, allocations: 10.34 kB / 5.818 GB, free: 127.7 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00302/13.49, allocations: 463.8 kB / 5.819 GB, free: 127.6 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003397/13.49, allocations: 1.316 MB / 5.82 GB, free: 127.2 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.66e-05/13.49, allocations: 39.44 kB / 5.82 GB, free: 127.2 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004565/13.49, allocations: 77 kB / 5.82 GB, free: 127.2 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002616/13.49, allocations: 1.086 MB / 5.821 GB, free: 127.1 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002976/13.5, allocations: 1.477 MB / 5.823 GB, free: 126.8 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.527e-05/13.5, allocations: 3.938 kB / 5.823 GB, free: 126.8 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001236/13.5, allocations: 3.125 kB / 5.823 GB, free: 126.8 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-05/13.5, allocations: 56.17 kB / 5.823 GB, free: 126.8 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007515/13.5, allocations: 6.525 MB / 5.829 GB, free: 123 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008621/13.51, allocations: 0.6199 MB / 5.83 GB, free: 122.9 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006465/13.51, allocations: 0.5876 MB / 5.83 GB, free: 122.8 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001945/13.51, allocations: 2.452 MB / 5.833 GB, free: 120.3 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.114e-05/13.51, allocations: 46.47 kB / 5.833 GB, free: 120.2 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=72): time 3.376e-06/13.51, allocations: 0 / 5.833 GB, free: 120.2 MB / 0.9948 GB Notification: Performance of matching and sorting (n=72): time 0.003588/13.51, allocations: 1.069 MB / 5.834 GB, free: 120.1 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.828e-05/13.51, allocations: 219.5 kB / 5.834 GB, free: 119.9 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001467/13.51, allocations: 0.7859 MB / 5.835 GB, free: 119.7 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001476/13.51, allocations: 25.7 kB / 5.835 GB, free: 119.7 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003541/13.51, allocations: 0.5052 MB / 5.835 GB, free: 119.4 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002016/13.51, allocations: 229.7 kB / 5.836 GB, free: 119.3 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.105e-05/13.51, allocations: 0 / 5.836 GB, free: 119.3 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 7.108e-05/13.51, allocations: 337.1 kB / 5.836 GB, free: 119 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003762/13.51, allocations: 296.6 kB / 5.836 GB, free: 119 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006221/13.52, allocations: 0.5826 MB / 5.837 GB, free: 118.7 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007927/13.52, allocations: 408.8 kB / 5.837 GB, free: 118.7 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.906e-06/13.52, allocations: 3.5 kB / 5.837 GB, free: 118.7 MB / 0.9948 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001736/13.52, allocations: 0.9022 MB / 5.838 GB, free: 118.6 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/13.52, allocations: 10.22 kB / 5.838 GB, free: 118.6 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/13.52, allocations: 3.781 kB / 5.838 GB, free: 118.6 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.798e-05/13.52, allocations: 10.78 kB / 5.838 GB, free: 118.6 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004417/13.52, allocations: 128.1 kB / 5.838 GB, free: 118.6 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/13.52, allocations: 3.719 kB / 5.838 GB, free: 118.6 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008622/13.52, allocations: 51.78 kB / 5.838 GB, free: 118.5 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001725/13.52, allocations: 67.34 kB / 5.838 GB, free: 118.5 MB / 0.9948 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 (72): * Single equations (assignments): 72 * 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.0002014/13.52, allocations: 126 kB / 5.838 GB, free: 118.4 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004308/13.52, allocations: 131.6 kB / 5.839 GB, free: 118.4 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002163/13.52, allocations: 1.027 MB / 5.84 GB, free: 118.3 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.581e-05/13.52, allocations: 15.34 kB / 5.84 GB, free: 118.3 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.458e-05/13.52, allocations: 3.906 kB / 5.84 GB, free: 118.3 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.187e-05/13.52, allocations: 3.797 kB / 5.84 GB, free: 118.3 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01119/13.53, allocations: 8.367 MB / 5.848 GB, free: 116 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.224e-05/13.53, allocations: 15.72 kB / 5.848 GB, free: 116 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004676/13.53, allocations: 143.2 kB / 5.848 GB, free: 116 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.471e-05/13.53, allocations: 27.66 kB / 5.848 GB, free: 116 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.686e-05/13.53, allocations: 31.22 kB / 5.848 GB, free: 116 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-05/13.53, allocations: 33.23 kB / 5.848 GB, free: 116 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.15e-05/13.53, allocations: 19.62 kB / 5.848 GB, free: 116 MB / 0.9948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002462/13.54, allocations: 2.507 MB / 5.85 GB, free: 114 MB / 0.9948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002685/13.54, allocations: 3.015 MB / 5.853 GB, free: 111.7 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007008/13.54, allocations: 317.7 kB / 5.854 GB, free: 111.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003394/13.54, allocations: 29.95 kB / 5.854 GB, free: 111.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000785/13.54, allocations: 22.91 kB / 5.854 GB, free: 111.5 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/13.54, allocations: 92.16 kB / 5.854 GB, free: 111.5 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.976e-05/13.54, allocations: 55.66 kB / 5.854 GB, free: 111.5 MB / 0.9948 GB Notification: Performance of sort global known variables: time 0.0009028/13.54, allocations: 0.603 MB / 5.855 GB, free: 111.4 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.004719/13.55, allocations: 1.132 MB / 5.856 GB, free: 111.3 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 68 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.008274/13.56, allocations: 3.439 MB / 5.859 GB, free: 110.4 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001636/13.56, allocations: 0.7872 MB / 5.86 GB, free: 110.4 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.986e-05/13.56, allocations: 3.656 kB / 5.86 GB, free: 110.4 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008871/13.56, allocations: 469.1 kB / 5.86 GB, free: 110.3 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004831/13.56, allocations: 0.7264 MB / 5.861 GB, free: 110.3 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006114/13.57, allocations: 2.417 MB / 5.863 GB, free: 109.2 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002295/13.57, allocations: 1.551 MB / 5.865 GB, free: 108.5 MB / 0.9948 GB Notification: Performance of SimCode: time 1.714e-06/13.57, allocations: 3.938 kB / 5.865 GB, free: 108.5 MB / 0.9948 GB (rm -f Buildings_8_Buildings.Fluid.Sources.Validation.Boundary.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sources.Validation.Boundary.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sources.Validation.Boundary.pipe >> ../files/Buildings_8_Buildings.Fluid.Sources.Validation.Boundary.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sources_Validation_Boundary_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sources_Validation_Boundary.fmu > Buildings_8_Buildings.Fluid.Sources.Validation.Boundary.pipe 2>&1)