Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.423/1.423, allocations: 285.5 MB / 292.8 MB, free: 9.875 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.0009166/0.0009166, allocations: 187.5 kB / 361.1 MB, free: 340 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.204/1.204, allocations: 205.1 MB / 0.6195 GB, free: 2.84 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.0008455/0.0008454, allocations: 96.19 kB / 0.7326 GB, free: 0.9844 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.4473/0.4482, allocations: 121.4 MB / 0.8511 GB, free: 152 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1779/0.6261, allocations: 115.3 MB / 0.9638 GB, free: 56.26 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.841/5.467, allocations: 2.753 GB / 3.717 GB, free: 349 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002145/5.468, allocations: 83.08 kB / 3.717 GB, free: 349 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 3.806/9.274, allocations: 1.411 GB / 5.127 GB, free: 5.168 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/9.274, allocations: 8 kB / 5.127 GB, free: 5.16 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002121/9.276, allocations: 353.8 kB / 5.128 GB, free: 4.812 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001972/9.278, allocations: 0.9431 MB / 5.129 GB, free: 3.824 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.364e-05/9.278, allocations: 32 kB / 5.129 GB, free: 3.793 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002152/9.278, allocations: 64 kB / 5.129 GB, free: 3.73 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001787/9.28, allocations: 0.9257 MB / 5.13 GB, free: 2.801 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002174/9.282, allocations: 1.32 MB / 5.131 GB, free: 1.383 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.001e-05/9.282, allocations: 7.844 kB / 5.131 GB, free: 1.375 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.9e-05/9.282, allocations: 4 kB / 5.131 GB, free: 1.371 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.434e-05/9.282, allocations: 57.95 kB / 5.131 GB, free: 1.316 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3879/9.67, allocations: 5.051 MB / 5.136 GB, free: 255.3 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004408/9.671, allocations: 305.1 kB / 5.136 GB, free: 255.2 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002284/9.671, allocations: 240.1 kB / 5.137 GB, free: 255.2 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007078/9.672, allocations: 0.9612 MB / 5.137 GB, free: 254.3 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/9.672, allocations: 45.59 kB / 5.138 GB, free: 254.2 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=28): time 2.685e-06/9.672, allocations: 2.719 kB / 5.138 GB, free: 254.2 MB / 0.9636 GB Notification: Performance of matching and sorting (n=28): time 0.001582/9.673, allocations: 0.5418 MB / 5.138 GB, free: 254.2 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.872e-05/9.673, allocations: 88.17 kB / 5.138 GB, free: 254.1 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005151/9.674, allocations: 0.5478 MB / 5.139 GB, free: 254 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 3.226e-05/9.674, allocations: 26.98 kB / 5.139 GB, free: 253.9 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001645/9.674, allocations: 462.5 kB / 5.139 GB, free: 253.7 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 4.768e-05/9.674, allocations: 98.08 kB / 5.139 GB, free: 253.7 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.446e-05/9.674, allocations: 0 / 5.139 GB, free: 253.7 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 4.703e-05/9.674, allocations: 317.2 kB / 5.14 GB, free: 253.4 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/9.674, allocations: 149.1 kB / 5.14 GB, free: 253.4 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002197/9.675, allocations: 304.4 kB / 5.14 GB, free: 253.2 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002142/9.675, allocations: 195.5 kB / 5.14 GB, free: 253.2 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/9.675, allocations: 0 / 5.14 GB, free: 253.2 MB / 0.9636 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005195/9.675, allocations: 466.5 kB / 5.141 GB, free: 253.2 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/9.675, allocations: 7.031 kB / 5.141 GB, free: 253.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.413e-06/9.675, allocations: 0 / 5.141 GB, free: 253.2 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/9.675, allocations: 10.62 kB / 5.141 GB, free: 253.2 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002127/9.676, allocations: 52.06 kB / 5.141 GB, free: 253.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/9.676, allocations: 4.75 kB / 5.141 GB, free: 253.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003355/9.676, allocations: 21.5 kB / 5.141 GB, free: 253.2 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.401e-05/9.676, allocations: 27.34 kB / 5.141 GB, free: 253.2 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 8.571e-05/9.676, allocations: 123.7 kB / 5.141 GB, free: 253.1 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.867e-05/9.676, allocations: 81.7 kB / 5.141 GB, free: 253 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004461/9.677, allocations: 320.8 kB / 5.141 GB, free: 253 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.349e-06/9.677, allocations: 3.906 kB / 5.141 GB, free: 253 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/9.677, allocations: 0 / 5.141 GB, free: 253 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/9.677, allocations: 3.75 kB / 5.141 GB, free: 253 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002445/9.679, allocations: 2.356 MB / 5.144 GB, free: 252.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/9.679, allocations: 11.66 kB / 5.144 GB, free: 252.1 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001781/9.679, allocations: 50.64 kB / 5.144 GB, free: 252.1 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.575e-06/9.679, allocations: 11.03 kB / 5.144 GB, free: 252.1 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.118e-05/9.679, allocations: 10.81 kB / 5.144 GB, free: 252.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/9.679, allocations: 12.5 kB / 5.144 GB, free: 252.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/9.679, allocations: 13.38 kB / 5.144 GB, free: 252.1 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004771/9.68, allocations: 0.8338 MB / 5.144 GB, free: 251.4 MB / 0.9636 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000717/9.681, allocations: 1.29 MB / 5.146 GB, free: 250.3 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001959/9.681, allocations: 206.7 kB / 5.146 GB, free: 250.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/9.681, allocations: 7.125 kB / 5.146 GB, free: 250.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002526/9.681, allocations: 24.84 kB / 5.146 GB, free: 250.2 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.817e-05/9.681, allocations: 33.25 kB / 5.146 GB, free: 250.2 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-05/9.681, allocations: 15.72 kB / 5.146 GB, free: 250.2 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.0004023/9.682, allocations: 473.4 kB / 5.146 GB, free: 250.1 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.002381/9.684, allocations: 0.7593 MB / 5.147 GB, free: 250.1 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.003483/9.688, allocations: 2.596 MB / 5.15 GB, free: 249.6 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0004295/9.688, allocations: 336.1 kB / 5.15 GB, free: 249.6 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/9.688, allocations: 0 / 5.15 GB, free: 249.6 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001427/9.688, allocations: 155.8 kB / 5.15 GB, free: 249.6 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001744/9.69, allocations: 417 kB / 5.151 GB, free: 249.6 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002434/9.692, allocations: 1.454 MB / 5.152 GB, free: 249 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007781/9.693, allocations: 1.296 MB / 5.153 GB, free: 248.3 MB / 0.9636 GB Notification: Performance of SimCode: time 3.91e-07/9.693, allocations: 0 / 5.153 GB, free: 248.3 MB / 0.9636 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Sources_Validation_BoundaryWithX_in_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Sources_Validation_BoundaryWithX_in.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1)