Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.215/1.215, allocations: 249.4 MB / 256.7 MB, free: 0.7266 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001099/0.0011, allocations: 195.4 kB / 316 MB, free: 8.898 MB / 258.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.102/1.102, allocations: 205.1 MB / 0.5667 GB, free: 13.43 MB / 434.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008175/0.0008175, allocations: 90.56 kB / 0.671 GB, free: 51.63 MB / 498.8 MB Notification: Performance of FrontEnd - loaded program: time 0.1858/0.1866, allocations: 112.5 MB / 0.7808 GB, free: 9.859 MB / 0.5496 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4715/0.6582, allocations: 106.3 MB / 0.8846 GB, free: 89.12 MB / 0.6433 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.481/5.139, allocations: 2.871 GB / 3.756 GB, free: 201.8 MB / 0.8777 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002637/5.14, allocations: 81.12 kB / 3.756 GB, free: 201.7 MB / 0.8777 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.184/9.324, allocations: 1.397 GB / 5.153 GB, free: 135.5 MB / 0.8933 GB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/9.324, allocations: 11.09 kB / 5.153 GB, free: 135.5 MB / 0.8933 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002635/9.327, allocations: 353.1 kB / 5.153 GB, free: 135.5 MB / 0.8933 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002461/9.329, allocations: 0.9317 MB / 5.154 GB, free: 135.1 MB / 0.8933 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.651e-05/9.329, allocations: 32.56 kB / 5.154 GB, free: 135.1 MB / 0.8933 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003584/9.33, allocations: 61.44 kB / 5.154 GB, free: 135.1 MB / 0.8933 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002171/9.332, allocations: 0.9205 MB / 5.155 GB, free: 135.1 MB / 0.8933 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00273/9.335, allocations: 1.304 MB / 5.156 GB, free: 134.8 MB / 0.8933 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.176e-05/9.335, allocations: 5.812 kB / 5.156 GB, free: 134.8 MB / 0.8933 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001605/9.335, allocations: 3.781 kB / 5.156 GB, free: 134.8 MB / 0.8933 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.344e-05/9.335, allocations: 51.44 kB / 5.156 GB, free: 134.8 MB / 0.8933 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006195/9.341, allocations: 5.026 MB / 5.161 GB, free: 131.9 MB / 0.8933 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005531/9.342, allocations: 307.3 kB / 5.161 GB, free: 131.8 MB / 0.8933 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003105/9.342, allocations: 249.8 kB / 5.162 GB, free: 131.8 MB / 0.8933 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008173/9.343, allocations: 0.9574 MB / 5.162 GB, free: 130.9 MB / 0.8933 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/9.343, allocations: 42.53 kB / 5.163 GB, free: 130.8 MB / 0.8933 GB Notification: Performance of pre-optimization done (n=28): time 3.136e-06/9.343, allocations: 0 / 5.163 GB, free: 130.8 MB / 0.8933 GB Notification: Performance of matching and sorting (n=28): time 0.002022/9.345, allocations: 0.5488 MB / 5.163 GB, free: 130.7 MB / 0.8933 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.772e-05/9.345, allocations: 83.89 kB / 5.163 GB, free: 130.6 MB / 0.8933 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008641/9.346, allocations: 0.5586 MB / 5.164 GB, free: 130.4 MB / 0.8933 GB Notification: Performance of collectPreVariables (initialization): time 7.689e-05/9.346, allocations: 28.8 kB / 5.164 GB, free: 130.3 MB / 0.8933 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002562/9.346, allocations: 460.6 kB / 5.164 GB, free: 130 MB / 0.8933 GB Notification: Performance of collectInitialBindings (initialization): time 7.628e-05/9.346, allocations: 96.42 kB / 5.164 GB, free: 129.9 MB / 0.8933 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.765e-05/9.346, allocations: 0 / 5.164 GB, free: 129.9 MB / 0.8933 GB Notification: Performance of setup shared object (initialization): time 6.025e-05/9.346, allocations: 314.1 kB / 5.165 GB, free: 129.6 MB / 0.8933 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000196/9.347, allocations: 162.2 kB / 5.165 GB, free: 129.6 MB / 0.8933 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000301/9.347, allocations: 320.8 kB / 5.165 GB, free: 129.3 MB / 0.8933 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002926/9.347, allocations: 202.6 kB / 5.165 GB, free: 129.3 MB / 0.8933 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/9.347, allocations: 0 / 5.165 GB, free: 129.3 MB / 0.8933 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007545/9.348, allocations: 482 kB / 5.166 GB, free: 129.1 MB / 0.8933 GB Notification: Performance of prepare postOptimizeDAE: time 2.417e-05/9.348, allocations: 10.31 kB / 5.166 GB, free: 129.1 MB / 0.8933 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/9.348, allocations: 3.438 kB / 5.166 GB, free: 129.1 MB / 0.8933 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/9.348, allocations: 2.312 kB / 5.166 GB, free: 129.1 MB / 0.8933 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002555/9.348, allocations: 57.67 kB / 5.166 GB, free: 129.1 MB / 0.8933 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/9.348, allocations: 7.125 kB / 5.166 GB, free: 129.1 MB / 0.8933 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005079/9.349, allocations: 27.66 kB / 5.166 GB, free: 129.1 MB / 0.8933 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.538e-05/9.349, allocations: 31.94 kB / 5.166 GB, free: 129.1 MB / 0.8933 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 0.0001126/9.349, allocations: 125 kB / 5.166 GB, free: 129 MB / 0.8933 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001678/9.349, allocations: 77.28 kB / 5.166 GB, free: 128.9 MB / 0.8933 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005226/9.35, allocations: 318.9 kB / 5.166 GB, free: 128.8 MB / 0.8933 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/9.35, allocations: 3.5 kB / 5.166 GB, free: 128.8 MB / 0.8933 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/9.35, allocations: 1.156 kB / 5.166 GB, free: 128.8 MB / 0.8933 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/9.35, allocations: 3.844 kB / 5.166 GB, free: 128.8 MB / 0.8933 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00338/9.353, allocations: 2.35 MB / 5.169 GB, free: 127.4 MB / 0.8933 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.181e-05/9.353, allocations: 6.688 kB / 5.169 GB, free: 127.4 MB / 0.8933 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002006/9.353, allocations: 53.95 kB / 5.169 GB, free: 127.4 MB / 0.8933 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.676e-06/9.353, allocations: 8.781 kB / 5.169 GB, free: 127.4 MB / 0.8933 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.201e-05/9.353, allocations: 6.672 kB / 5.169 GB, free: 127.4 MB / 0.8933 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.965e-06/9.353, allocations: 13.53 kB / 5.169 GB, free: 127.4 MB / 0.8933 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.723e-06/9.353, allocations: 10.28 kB / 5.169 GB, free: 127.4 MB / 0.8933 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006858/9.354, allocations: 0.846 MB / 5.169 GB, free: 126.6 MB / 0.8933 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001006/9.355, allocations: 1.289 MB / 5.171 GB, free: 125.3 MB / 0.8933 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003354/9.355, allocations: 203.3 kB / 5.171 GB, free: 125.1 MB / 0.8933 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000165/9.356, allocations: 8.156 kB / 5.171 GB, free: 125.1 MB / 0.8933 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003323/9.356, allocations: 20.77 kB / 5.171 GB, free: 125.1 MB / 0.8933 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.398e-05/9.356, allocations: 39.45 kB / 5.171 GB, free: 125.1 MB / 0.8933 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.707e-05/9.356, allocations: 18.47 kB / 5.171 GB, free: 125.1 MB / 0.8933 GB Notification: Performance of sort global known variables: time 0.0005381/9.357, allocations: 472.4 kB / 5.171 GB, free: 124.8 MB / 0.8933 GB Notification: Performance of remove unused functions: time 0.003019/9.36, allocations: 0.7675 MB / 5.172 GB, free: 124.4 MB / 0.8933 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.005098/9.365, allocations: 2.591 MB / 5.175 GB, free: 123.5 MB / 0.8933 GB Notification: Performance of simCode: created initialization part: time 0.0006816/9.365, allocations: 338.2 kB / 5.175 GB, free: 123.4 MB / 0.8933 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/9.365, allocations: 1.375 kB / 5.175 GB, free: 123.4 MB / 0.8933 GB Notification: Performance of simCode: created simulation system equations: time 0.0002638/9.366, allocations: 156.9 kB / 5.175 GB, free: 123.3 MB / 0.8933 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002161/9.368, allocations: 420.5 kB / 5.176 GB, free: 122.9 MB / 0.8933 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003084/9.371, allocations: 1.444 MB / 5.177 GB, free: 121.4 MB / 0.8933 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001135/9.372, allocations: 1.29 MB / 5.178 GB, free: 120.1 MB / 0.8933 GB Notification: Performance of SimCode: time 9.52e-07/9.372, allocations: 4 kB / 5.178 GB, free: 120.1 MB / 0.8933 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1)