Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sources.Validation.BoundaryWithXi_in.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.Sources.Validation.BoundaryWithXi_in,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Validation_BoundaryWithXi_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sources.Validation.BoundaryWithXi_in,fileNamePrefix="IBPSA_latest_IBPSA_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/Complex 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 188.4 kB / 7.803 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4539/0.4539, allocations: 90.85 MB / 99.07 MB, free: 14.91 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.228/1.228, allocations: 221.4 MB / 342.7 MB, free: 5.18 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000903/0.000903, allocations: 96.42 kB / 415.5 MB, free: 9.82 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1545/0.1554, allocations: 78.44 MB / 493.9 MB, free: 11.46 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3305/0.486, allocations: 72.3 MB / 0.553 GB, free: 44.75 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.168/4.654, allocations: 2.494 GB / 3.047 GB, free: 29.02 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002722/4.654, allocations: 84.7 kB / 3.047 GB, free: 28.94 MB / 0.6042 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.575/9.229, allocations: 1.423 GB / 4.471 GB, free: 26.43 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/9.229, allocations: 8 kB / 4.471 GB, free: 26.42 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001703/9.231, allocations: 353.8 kB / 4.471 GB, free: 26.07 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001381/9.233, allocations: 0.9353 MB / 4.472 GB, free: 25.1 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.158e-05/9.233, allocations: 32 kB / 4.472 GB, free: 25.07 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/9.233, allocations: 60 kB / 4.472 GB, free: 25.01 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001232/9.234, allocations: 0.9217 MB / 4.473 GB, free: 24.08 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001602/9.236, allocations: 1.308 MB / 4.474 GB, free: 22.68 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.552e-05/9.236, allocations: 3.906 kB / 4.474 GB, free: 22.67 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.701e-05/9.236, allocations: 4 kB / 4.474 GB, free: 22.67 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-05/9.236, allocations: 49.8 kB / 4.474 GB, free: 22.62 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004126/9.24, allocations: 5.03 MB / 4.479 GB, free: 17.34 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004654/9.24, allocations: 301.1 kB / 4.479 GB, free: 17.02 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002361/9.241, allocations: 241.8 kB / 4.48 GB, free: 16.78 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007794/9.241, allocations: 1.083 MB / 4.481 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/9.241, allocations: 46.5 kB / 4.481 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=28): time 2.254e-06/9.241, allocations: 3.844 kB / 4.481 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of matching and sorting (n=28): time 0.001778/9.243, allocations: 0.5708 MB / 4.481 GB, free: 14.84 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.102e-05/9.243, allocations: 81.11 kB / 4.481 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005789/9.244, allocations: 0.5589 MB / 4.482 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.362e-05/9.244, allocations: 29.7 kB / 4.482 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001713/9.244, allocations: 466.4 kB / 4.482 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.032e-05/9.244, allocations: 90.66 kB / 4.482 GB, free: 13.59 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.537e-05/9.244, allocations: 0 / 4.482 GB, free: 13.59 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.861e-05/9.244, allocations: 314 kB / 4.483 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001651/9.244, allocations: 155.9 kB / 4.483 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002493/9.245, allocations: 309.1 kB / 4.483 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003703/9.245, allocations: 231.8 kB / 4.483 GB, free: 12.53 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/9.245, allocations: 0 / 4.483 GB, free: 12.53 MB / 0.6355 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007041/9.246, allocations: 0.5121 MB / 4.484 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/9.246, allocations: 8 kB / 4.484 GB, free: 12 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/9.246, allocations: 4 kB / 4.484 GB, free: 12 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/9.246, allocations: 4 kB / 4.484 GB, free: 12 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002349/9.246, allocations: 63.94 kB / 4.484 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/9.246, allocations: 4 kB / 4.484 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003756/9.246, allocations: 31.67 kB / 4.484 GB, free: 11.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.723e-05/9.247, allocations: 27.98 kB / 4.484 GB, free: 11.87 MB / 0.6355 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 8.705e-05/9.247, allocations: 118.6 kB / 4.484 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/9.247, allocations: 78.97 kB / 4.484 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006654/9.247, allocations: 312.4 kB / 4.485 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/9.247, allocations: 4 kB / 4.485 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/9.247, allocations: 4 kB / 4.485 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/9.247, allocations: 3.984 kB / 4.485 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003116/9.251, allocations: 2.352 MB / 4.487 GB, free: 8.828 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/9.251, allocations: 4 kB / 4.487 GB, free: 8.824 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002396/9.251, allocations: 59.92 kB / 4.487 GB, free: 8.766 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.157e-06/9.251, allocations: 11.84 kB / 4.487 GB, free: 8.758 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.829e-05/9.251, allocations: 8 kB / 4.487 GB, free: 8.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.774e-06/9.251, allocations: 11.98 kB / 4.487 GB, free: 8.738 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/9.251, allocations: 11.94 kB / 4.487 GB, free: 8.727 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000649/9.252, allocations: 0.8347 MB / 4.488 GB, free: 7.645 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009222/9.252, allocations: 1.291 MB / 4.489 GB, free: 6.102 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002673/9.253, allocations: 204 kB / 4.489 GB, free: 5.879 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001306/9.253, allocations: 8 kB / 4.489 GB, free: 5.871 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003266/9.253, allocations: 15.89 kB / 4.489 GB, free: 5.855 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.967e-05/9.253, allocations: 35.83 kB / 4.489 GB, free: 5.82 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.195e-05/9.253, allocations: 16 kB / 4.489 GB, free: 5.805 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0005169/9.254, allocations: 475.1 kB / 4.49 GB, free: 5.348 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00288/9.257, allocations: 0.7133 MB / 4.49 GB, free: 4.633 MB / 0.6355 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.004099/9.261, allocations: 2.444 MB / 4.493 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0005352/9.261, allocations: 343.6 kB / 4.493 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/9.261, allocations: 4 kB / 4.493 GB, free: 1.773 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001528/9.262, allocations: 149.6 kB / 4.493 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001991/9.264, allocations: 434.9 kB / 4.494 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3282/9.592, allocations: 1.44 MB / 4.495 GB, free: 123.1 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008592/9.593, allocations: 1.286 MB / 4.496 GB, free: 122.4 MB / 0.6355 GB Notification: Performance of SimCode: time 9.12e-07/9.593, allocations: 0 / 4.496 GB, free: 122.4 MB / 0.6355 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Validation.BoundaryWithXi_in.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Validation.BoundaryWithXi_in.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sources_Validation_BoundaryWithXi_in_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sources_Validation_BoundaryWithXi_in.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1)