Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sources.Validation.BoundaryWithX_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.BoundaryWithX_in,fileNamePrefix="Buildings_8_Buildings_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.588/1.588, allocations: 289.8 MB / 297.1 MB, free: 6.625 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.001403/0.001403, allocations: 181.2 kB / 366.3 MB, free: 1.941 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.486/1.486, allocations: 205.1 MB / 0.6256 GB, free: 5.82 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.001094/0.001094, allocations: 89.22 kB / 0.7395 GB, free: 39.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2643/0.2655, allocations: 122.4 MB / 0.8591 GB, free: 13.21 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6862/0.9517, allocations: 116.3 MB / 0.9726 GB, free: 68.32 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.801/6.752, allocations: 2.754 GB / 3.726 GB, free: 22.29 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002702/6.753, allocations: 86 kB / 3.726 GB, free: 22.24 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 4.893/11.65, allocations: 1.411 GB / 5.137 GB, free: 52.82 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/11.65, allocations: 8 kB / 5.137 GB, free: 52.81 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002356/11.65, allocations: 361.7 kB / 5.138 GB, free: 52.45 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002203/11.65, allocations: 0.9353 MB / 5.139 GB, free: 51.47 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.392e-05/11.65, allocations: 32 kB / 5.139 GB, free: 51.44 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003162/11.65, allocations: 60 kB / 5.139 GB, free: 51.38 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001709/11.65, allocations: 0.9334 MB / 5.14 GB, free: 50.45 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002303/11.65, allocations: 1.324 MB / 5.141 GB, free: 49.02 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.928e-05/11.66, allocations: 0 / 5.141 GB, free: 49.02 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001465/11.66, allocations: 4 kB / 5.141 GB, free: 49.02 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.686e-05/11.66, allocations: 53.89 kB / 5.141 GB, free: 48.96 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005561/11.66, allocations: 5.05 MB / 5.146 GB, free: 43.67 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005067/11.66, allocations: 305 kB / 5.146 GB, free: 43.35 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000264/11.66, allocations: 245.6 kB / 5.146 GB, free: 43.11 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008465/11.66, allocations: 0.9688 MB / 5.147 GB, free: 41.95 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/11.66, allocations: 42.56 kB / 5.147 GB, free: 41.9 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=28): time 2.756e-06/11.66, allocations: 0 / 5.147 GB, free: 41.9 MB / 0.9636 GB Notification: Performance of matching and sorting (n=28): time 0.001956/11.66, allocations: 0.5475 MB / 5.148 GB, free: 41.35 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.644e-05/11.66, allocations: 81.11 kB / 5.148 GB, free: 41.25 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006682/11.67, allocations: 0.5512 MB / 5.149 GB, free: 40.69 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 5.855e-05/11.67, allocations: 33.7 kB / 5.149 GB, free: 40.65 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002063/11.67, allocations: 458.5 kB / 5.149 GB, free: 40.2 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 6.051e-05/11.67, allocations: 90.66 kB / 5.149 GB, free: 40.11 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.716e-05/11.67, allocations: 0 / 5.149 GB, free: 40.11 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 5.754e-05/11.67, allocations: 321.9 kB / 5.149 GB, free: 39.79 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001646/11.67, allocations: 147.9 kB / 5.15 GB, free: 39.64 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002561/11.67, allocations: 299.3 kB / 5.15 GB, free: 39.29 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002465/11.67, allocations: 195.8 kB / 5.15 GB, free: 39.1 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/11.67, allocations: 0 / 5.15 GB, free: 39.1 MB / 0.9636 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006375/11.67, allocations: 464.4 kB / 5.15 GB, free: 38.64 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/11.67, allocations: 5.562 kB / 5.15 GB, free: 38.64 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/11.67, allocations: 4.188 kB / 5.15 GB, free: 38.63 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/11.67, allocations: 8 kB / 5.15 GB, free: 38.62 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002183/11.67, allocations: 55.91 kB / 5.151 GB, free: 38.57 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/11.67, allocations: 7.938 kB / 5.151 GB, free: 38.56 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004181/11.67, allocations: 19.83 kB / 5.151 GB, free: 38.54 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.687e-05/11.67, allocations: 31.91 kB / 5.151 GB, free: 38.51 MB / 0.9636 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.269e-05/11.67, allocations: 112.9 kB / 5.151 GB, free: 38.39 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001032/11.67, allocations: 75.06 kB / 5.151 GB, free: 38.32 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004946/11.67, allocations: 325.8 kB / 5.151 GB, free: 37.99 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/11.67, allocations: 4 kB / 5.151 GB, free: 37.98 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/11.67, allocations: 0 / 5.151 GB, free: 37.98 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/11.67, allocations: 7.922 kB / 5.151 GB, free: 37.98 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002597/11.67, allocations: 2.358 MB / 5.153 GB, free: 35.45 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/11.67, allocations: 12 kB / 5.153 GB, free: 35.44 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001793/11.67, allocations: 44.73 kB / 5.153 GB, free: 35.4 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.937e-06/11.67, allocations: 15.91 kB / 5.153 GB, free: 35.38 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.158e-05/11.67, allocations: 12 kB / 5.153 GB, free: 35.37 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/11.67, allocations: 15.92 kB / 5.153 GB, free: 35.36 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/11.67, allocations: 7.938 kB / 5.153 GB, free: 35.35 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005382/11.67, allocations: 0.8425 MB / 5.154 GB, free: 34.26 MB / 0.9636 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008151/11.67, allocations: 1.29 MB / 5.156 GB, free: 32.71 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002097/11.67, allocations: 208.1 kB / 5.156 GB, free: 32.49 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/11.67, allocations: 8 kB / 5.156 GB, free: 32.48 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002637/11.67, allocations: 19.83 kB / 5.156 GB, free: 32.46 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.835e-05/11.67, allocations: 31.83 kB / 5.156 GB, free: 32.43 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.29e-05/11.67, allocations: 20 kB / 5.156 GB, free: 32.41 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.0004203/11.67, allocations: 471.1 kB / 5.156 GB, free: 31.96 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.002754/11.68, allocations: 0.7563 MB / 5.157 GB, free: 31.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.003801/11.68, allocations: 2.587 MB / 5.16 GB, free: 28.52 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0004722/11.68, allocations: 335.6 kB / 5.16 GB, free: 28.2 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 4.748e-06/11.68, allocations: 4 kB / 5.16 GB, free: 28.19 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001442/11.68, allocations: 153 kB / 5.16 GB, free: 28.04 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001897/11.68, allocations: 428.4 kB / 5.16 GB, free: 27.63 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002669/11.69, allocations: 1.457 MB / 5.162 GB, free: 26.05 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000785/11.69, allocations: 1.296 MB / 5.163 GB, free: 24.73 MB / 0.9636 GB Notification: Performance of SimCode: time 4.91e-07/11.69, allocations: 3.938 kB / 5.163 GB, free: 24.73 MB / 0.9636 GB (rm -f Buildings_8_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/Buildings_8_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sources_Validation_BoundaryWithX_in_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sources_Validation_BoundaryWithX_in.fmu > Buildings_8_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1)