Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.248/2.248, allocations: 284.8 MB / 292.1 MB, free: 9.824 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.001627/0.001627, allocations: 186.4 kB / 360.3 MB, free: 1.004 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.872/1.872, allocations: 205.1 MB / 0.6187 GB, free: 3.367 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001222/0.001222, allocations: 90.69 kB / 0.7317 GB, free: 1.863 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.5438/0.545, allocations: 121.4 MB / 0.8502 GB, free: 149.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2302/0.7752, allocations: 115.3 MB / 0.9628 GB, free: 57.02 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.906/7.681, allocations: 2.753 GB / 3.715 GB, free: 247.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002798/7.682, allocations: 86.3 kB / 3.715 GB, free: 247.5 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 6.862/14.54, allocations: 1.411 GB / 5.126 GB, free: 154.7 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/14.54, allocations: 7.5 kB / 5.126 GB, free: 154.7 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00303/14.55, allocations: 360.2 kB / 5.127 GB, free: 154.6 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002934/14.55, allocations: 0.9398 MB / 5.128 GB, free: 154.4 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.994e-05/14.55, allocations: 39.19 kB / 5.128 GB, free: 154.4 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002614/14.55, allocations: 62 kB / 5.128 GB, free: 154.4 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002631/14.55, allocations: 0.9355 MB / 5.129 GB, free: 154.4 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003433/14.56, allocations: 1.315 MB / 5.13 GB, free: 154.1 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.045e-05/14.56, allocations: 3.75 kB / 5.13 GB, free: 154.1 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001619/14.56, allocations: 3.781 kB / 5.13 GB, free: 154.1 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-05/14.56, allocations: 55.2 kB / 5.13 GB, free: 154.1 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008316/14.56, allocations: 5.065 MB / 5.135 GB, free: 151.3 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008199/14.57, allocations: 299.6 kB / 5.135 GB, free: 151.2 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004882/14.57, allocations: 243.2 kB / 5.135 GB, free: 151.2 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00114/14.57, allocations: 0.9637 MB / 5.136 GB, free: 150.3 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/14.57, allocations: 37.88 kB / 5.136 GB, free: 150.2 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=28): time 3.106e-06/14.57, allocations: 3.625 kB / 5.136 GB, free: 150.2 MB / 0.9948 GB Notification: Performance of matching and sorting (n=28): time 0.002837/14.57, allocations: 0.5495 MB / 5.137 GB, free: 150.2 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.303e-05/14.57, allocations: 84.39 kB / 5.137 GB, free: 150.1 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/14.57, allocations: 0.553 MB / 5.138 GB, free: 150 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 9.173e-05/14.57, allocations: 29.3 kB / 5.138 GB, free: 149.9 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002606/14.57, allocations: 464.5 kB / 5.138 GB, free: 149.7 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 9.011e-05/14.57, allocations: 89.77 kB / 5.138 GB, free: 149.7 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.543e-05/14.57, allocations: 0 / 5.138 GB, free: 149.7 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 6.356e-05/14.57, allocations: 320.9 kB / 5.138 GB, free: 149.4 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003209/14.57, allocations: 152.8 kB / 5.139 GB, free: 149.4 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004561/14.57, allocations: 295.4 kB / 5.139 GB, free: 149.2 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004473/14.57, allocations: 188.2 kB / 5.139 GB, free: 149.2 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/14.57, allocations: 0 / 5.139 GB, free: 149.2 MB / 0.9948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001172/14.57, allocations: 472.9 kB / 5.139 GB, free: 149.2 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/14.57, allocations: 6.469 kB / 5.139 GB, free: 149.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/14.57, allocations: 3.031 kB / 5.139 GB, free: 149.2 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.514e-05/14.57, allocations: 3.031 kB / 5.139 GB, free: 149.2 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004478/14.58, allocations: 58.23 kB / 5.139 GB, free: 149.2 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/14.58, allocations: 5.656 kB / 5.139 GB, free: 149.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006286/14.58, allocations: 27.33 kB / 5.14 GB, free: 149.1 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.349e-05/14.58, allocations: 31 kB / 5.14 GB, free: 149.1 MB / 0.9948 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 0.0001392/14.58, allocations: 114.1 kB / 5.14 GB, free: 149 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001565/14.58, allocations: 74.56 kB / 5.14 GB, free: 149 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000887/14.58, allocations: 329.7 kB / 5.14 GB, free: 148.9 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/14.58, allocations: 2.906 kB / 5.14 GB, free: 148.9 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/14.58, allocations: 3.281 kB / 5.14 GB, free: 148.9 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/14.58, allocations: 0 / 5.14 GB, free: 148.9 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004851/14.58, allocations: 2.358 MB / 5.142 GB, free: 148.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.38e-05/14.58, allocations: 3.594 kB / 5.142 GB, free: 148.1 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003876/14.58, allocations: 51.41 kB / 5.142 GB, free: 148.1 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.589e-05/14.58, allocations: 15.62 kB / 5.142 GB, free: 148.1 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.287e-05/14.58, allocations: 7.875 kB / 5.142 GB, free: 148.1 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.066e-05/14.58, allocations: 12.77 kB / 5.142 GB, free: 148.1 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.507e-06/14.58, allocations: 8.844 kB / 5.142 GB, free: 148.1 MB / 0.9948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001072/14.58, allocations: 0.8463 MB / 5.143 GB, free: 147.4 MB / 0.9948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001393/14.59, allocations: 1.289 MB / 5.145 GB, free: 146.3 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004277/14.59, allocations: 204.3 kB / 5.145 GB, free: 146.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001706/14.59, allocations: 7.781 kB / 5.145 GB, free: 146.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005356/14.59, allocations: 21.16 kB / 5.145 GB, free: 146.2 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.921e-05/14.59, allocations: 28.23 kB / 5.145 GB, free: 146.2 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.925e-05/14.59, allocations: 18.47 kB / 5.145 GB, free: 146.2 MB / 0.9948 GB Notification: Performance of sort global known variables: time 0.0008067/14.59, allocations: 470.3 kB / 5.145 GB, free: 146.1 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.004003/14.59, allocations: 0.7675 MB / 5.146 GB, free: 146 MB / 0.9948 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.006489/14.6, allocations: 2.587 MB / 5.149 GB, free: 145.5 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0009328/14.6, allocations: 323.9 kB / 5.149 GB, free: 145.5 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 9.208e-06/14.6, allocations: 3.781 kB / 5.149 GB, free: 145.5 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003047/14.6, allocations: 158.7 kB / 5.149 GB, free: 145.5 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003839/14.6, allocations: 429.8 kB / 5.149 GB, free: 145.5 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004002/14.61, allocations: 1.452 MB / 5.151 GB, free: 144.9 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00132/14.61, allocations: 1.298 MB / 5.152 GB, free: 144.2 MB / 0.9948 GB Notification: Performance of SimCode: time 1.032e-06/14.61, allocations: 0 / 5.152 GB, free: 144.2 MB / 0.9948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Sources_Validation_BoundaryWithX_in_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Sources_Validation_BoundaryWithX_in.fmu > Buildings_8.0.0_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1)