Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sources.Validation.BoundaryWithX_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.BoundaryWithX_in,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="IBPSA_latest_IBPSA_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/Complex 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 192.5 kB / 7.805 MB, free: 2.449 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4752/0.4752, allocations: 90.84 MB / 99.07 MB, free: 14.93 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.24/1.24, allocations: 221.4 MB / 342.8 MB, free: 5.086 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.001218/0.001218, allocations: 98.34 kB / 415.5 MB, free: 6.379 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1748/0.176, allocations: 78.45 MB / 494 MB, free: 7.922 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3702/0.5463, allocations: 72.29 MB / 0.553 GB, free: 73.37 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.421/4.968, allocations: 2.494 GB / 3.047 GB, free: 34.27 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002151/4.968, allocations: 85.98 kB / 3.047 GB, free: 34.19 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 4.848/9.816, allocations: 1.423 GB / 4.471 GB, free: 34.78 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/9.816, allocations: 9.312 kB / 4.471 GB, free: 34.77 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002246/9.818, allocations: 353.8 kB / 4.471 GB, free: 34.42 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002498/9.82, allocations: 0.9431 MB / 4.472 GB, free: 33.43 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.347e-05/9.821, allocations: 32 kB / 4.472 GB, free: 33.4 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003117/9.821, allocations: 71.98 kB / 4.472 GB, free: 33.33 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001734/9.823, allocations: 0.9295 MB / 4.473 GB, free: 32.4 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002259/9.825, allocations: 1.316 MB / 4.474 GB, free: 30.98 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.898e-05/9.825, allocations: 7.938 kB / 4.474 GB, free: 30.98 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001195/9.825, allocations: 0 / 4.474 GB, free: 30.98 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.774e-05/9.825, allocations: 53.95 kB / 4.474 GB, free: 30.93 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00506/9.83, allocations: 5.059 MB / 4.479 GB, free: 25.62 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000527/9.831, allocations: 301.1 kB / 4.479 GB, free: 25.31 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002686/9.831, allocations: 253.5 kB / 4.48 GB, free: 25.05 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008877/9.832, allocations: 1.079 MB / 4.481 GB, free: 23.75 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/9.832, allocations: 34.56 kB / 4.481 GB, free: 23.71 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=28): time 2.835e-06/9.832, allocations: 224 / 4.481 GB, free: 23.71 MB / 0.6355 GB Notification: Performance of matching and sorting (n=28): time 0.002232/9.834, allocations: 0.5744 MB / 4.481 GB, free: 23.13 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/9.834, allocations: 89.05 kB / 4.481 GB, free: 23.02 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007679/9.835, allocations: 0.5512 MB / 4.482 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.582e-05/9.835, allocations: 25.7 kB / 4.482 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002192/9.835, allocations: 466.8 kB / 4.482 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.548e-05/9.835, allocations: 86.66 kB / 4.483 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.621e-05/9.835, allocations: 4 kB / 4.483 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.66e-05/9.835, allocations: 314 kB / 4.483 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001722/9.836, allocations: 147.9 kB / 4.483 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002679/9.836, allocations: 292.3 kB / 4.483 GB, free: 21.08 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004507/9.836, allocations: 223.7 kB / 4.483 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.705e-06/9.836, allocations: 6.812 kB / 4.483 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008609/9.837, allocations: 0.4964 MB / 4.484 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/9.837, allocations: 10.03 kB / 4.484 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/9.837, allocations: 0 / 4.484 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.574e-05/9.837, allocations: 4 kB / 4.484 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002611/9.838, allocations: 59.81 kB / 4.484 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/9.838, allocations: 4 kB / 4.484 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004844/9.838, allocations: 23.78 kB / 4.484 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-05/9.838, allocations: 32.08 kB / 4.484 GB, free: 20.23 MB / 0.6355 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.0001223/9.838, allocations: 112.9 kB / 4.484 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001201/9.839, allocations: 78.97 kB / 4.484 GB, free: 20.03 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005373/9.839, allocations: 324.1 kB / 4.485 GB, free: 19.7 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/9.839, allocations: 8 kB / 4.485 GB, free: 19.69 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/9.839, allocations: 0 / 4.485 GB, free: 19.69 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/9.839, allocations: 0 / 4.485 GB, free: 19.69 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002888/9.842, allocations: 2.363 MB / 4.487 GB, free: 17.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/9.842, allocations: 8.125 kB / 4.487 GB, free: 17.16 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002448/9.842, allocations: 51.39 kB / 4.487 GB, free: 17.11 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.155e-05/9.842, allocations: 8 kB / 4.487 GB, free: 17.1 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.724e-05/9.842, allocations: 12 kB / 4.487 GB, free: 17.09 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.905e-06/9.842, allocations: 11.94 kB / 4.487 GB, free: 17.08 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.163e-06/9.842, allocations: 11.98 kB / 4.487 GB, free: 17.07 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005672/9.843, allocations: 0.8386 MB / 4.488 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008588/9.844, allocations: 1.294 MB / 4.489 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002296/9.844, allocations: 208 kB / 4.489 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001124/9.844, allocations: 8 kB / 4.489 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002669/9.844, allocations: 11.98 kB / 4.489 GB, free: 14.19 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.972e-05/9.844, allocations: 31.89 kB / 4.489 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-05/9.844, allocations: 15.91 kB / 4.489 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0004369/9.845, allocations: 471.1 kB / 4.49 GB, free: 13.69 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00246/9.847, allocations: 0.7133 MB / 4.49 GB, free: 12.97 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.003521/9.851, allocations: 2.425 MB / 4.493 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0005018/9.851, allocations: 335.6 kB / 4.493 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/9.851, allocations: 4 kB / 4.493 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001517/9.852, allocations: 161.4 kB / 4.493 GB, free: 9.988 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001884/9.854, allocations: 423.9 kB / 4.494 GB, free: 9.582 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002474/9.856, allocations: 1.457 MB / 4.495 GB, free: 8.016 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007536/9.857, allocations: 1.292 MB / 4.496 GB, free: 6.695 MB / 0.6355 GB Notification: Performance of SimCode: time 6.11e-07/9.857, allocations: 4 kB / 4.496 GB, free: 6.691 MB / 0.6355 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Validation.BoundaryWithX_in.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sources_Validation_BoundaryWithX_in_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sources_Validation_BoundaryWithX_in.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1)