Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in") translateModel(BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in") [: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/BuildingSystems 2.0.0-master/package.mo): time 0.8027/0.8027, allocations: 141.8 MB / 149.1 MB, free: 11.36 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00153/0.00153, allocations: 181.8 kB / 181.9 MB, free: 8.129 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 221.4 MB / 436 MB, free: 344 kB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 105.5 kB / 0.507 GB, free: 17.61 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001878/0.001878, allocations: 282.8 kB / 0.5885 GB, free: 2.086 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 1.005e-05/1.007e-05, allocations: 1.438 kB / 0.6759 GB, free: 136.4 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1833/0.1834, allocations: 82.77 MB / 0.7567 GB, free: 80.74 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.209/5.393, allocations: 2.501 GB / 3.258 GB, free: 94.41 MB / 0.7138 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002271/5.393, allocations: 80.45 kB / 3.258 GB, free: 94.37 MB / 0.7138 GB Notification: Performance of FrontEnd: time 5.264/10.66, allocations: 1.422 GB / 4.68 GB, free: 49.03 MB / 0.745 GB Notification: Performance of Transformations before backend: time 0.0001801/10.66, allocations: 42.41 kB / 4.68 GB, free: 48.99 MB / 0.745 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 0.003936/10.66, allocations: 1.306 MB / 4.682 GB, free: 47.65 MB / 0.745 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/10.66, allocations: 13.22 kB / 4.682 GB, free: 47.64 MB / 0.745 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002386/10.66, allocations: 361 kB / 4.682 GB, free: 47.29 MB / 0.745 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002087/10.67, allocations: 0.9359 MB / 4.683 GB, free: 46.32 MB / 0.745 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.235e-05/10.67, allocations: 32 kB / 4.683 GB, free: 46.29 MB / 0.745 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002923/10.67, allocations: 64 kB / 4.683 GB, free: 46.23 MB / 0.745 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00167/10.67, allocations: 0.9296 MB / 4.684 GB, free: 45.3 MB / 0.745 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002174/10.67, allocations: 1.327 MB / 4.685 GB, free: 43.88 MB / 0.745 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.98e-05/10.67, allocations: 3.938 kB / 4.685 GB, free: 43.88 MB / 0.745 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001326/10.67, allocations: 4 kB / 4.685 GB, free: 43.87 MB / 0.745 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.208e-05/10.67, allocations: 49.95 kB / 4.685 GB, free: 43.82 MB / 0.745 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00524/10.68, allocations: 5.059 MB / 4.69 GB, free: 38.57 MB / 0.745 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004769/10.68, allocations: 301.1 kB / 4.69 GB, free: 38.26 MB / 0.745 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002459/10.68, allocations: 249.5 kB / 4.691 GB, free: 38.02 MB / 0.745 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007786/10.68, allocations: 1.075 MB / 4.692 GB, free: 36.72 MB / 0.745 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/10.68, allocations: 46.78 kB / 4.692 GB, free: 36.67 MB / 0.745 GB Notification: Performance of pre-optimization done (n=28): time 2.886e-06/10.68, allocations: 0 / 4.692 GB, free: 36.67 MB / 0.745 GB Notification: Performance of matching and sorting (n=28): time 0.001956/10.68, allocations: 0.5707 MB / 4.692 GB, free: 36.09 MB / 0.745 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.484e-05/10.68, allocations: 83.17 kB / 4.692 GB, free: 35.99 MB / 0.745 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006721/10.68, allocations: 0.5512 MB / 4.693 GB, free: 35.44 MB / 0.745 GB Notification: Performance of collectPreVariables (initialization): time 6.456e-05/10.68, allocations: 29.7 kB / 4.693 GB, free: 35.4 MB / 0.745 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001996/10.68, allocations: 466.5 kB / 4.693 GB, free: 34.94 MB / 0.745 GB Notification: Performance of collectInitialBindings (initialization): time 6.113e-05/10.68, allocations: 90.56 kB / 4.693 GB, free: 34.85 MB / 0.745 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.818e-05/10.68, allocations: 0 / 4.693 GB, free: 34.85 MB / 0.745 GB Notification: Performance of setup shared object (initialization): time 6.083e-05/10.68, allocations: 321.9 kB / 4.694 GB, free: 34.53 MB / 0.745 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001585/10.68, allocations: 151.9 kB / 4.694 GB, free: 34.38 MB / 0.745 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002475/10.68, allocations: 295.9 kB / 4.694 GB, free: 34.04 MB / 0.745 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003783/10.68, allocations: 227.7 kB / 4.694 GB, free: 33.81 MB / 0.745 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/10.68, allocations: 0 / 4.694 GB, free: 33.81 MB / 0.745 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007484/10.68, allocations: 499.9 kB / 4.695 GB, free: 33.32 MB / 0.745 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/10.68, allocations: 4.188 kB / 4.695 GB, free: 33.32 MB / 0.745 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/10.68, allocations: 8 kB / 4.695 GB, free: 33.31 MB / 0.745 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/10.68, allocations: 4 kB / 4.695 GB, free: 33.3 MB / 0.745 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002227/10.68, allocations: 55.92 kB / 4.695 GB, free: 33.25 MB / 0.745 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/10.68, allocations: 7.984 kB / 4.695 GB, free: 33.24 MB / 0.745 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000423/10.68, allocations: 19.75 kB / 4.695 GB, free: 33.22 MB / 0.745 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.298e-05/10.68, allocations: 27.98 kB / 4.695 GB, free: 33.2 MB / 0.745 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.0001011/10.68, allocations: 116.9 kB / 4.695 GB, free: 33.07 MB / 0.745 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001319/10.68, allocations: 75.06 kB / 4.695 GB, free: 33 MB / 0.745 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004995/10.68, allocations: 320.3 kB / 4.695 GB, free: 32.68 MB / 0.745 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/10.68, allocations: 4 kB / 4.695 GB, free: 32.68 MB / 0.745 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/10.68, allocations: 0 / 4.695 GB, free: 32.68 MB / 0.745 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/10.68, allocations: 4 kB / 4.695 GB, free: 32.67 MB / 0.745 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003079/10.69, allocations: 2.357 MB / 4.698 GB, free: 30.16 MB / 0.745 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.058e-05/10.69, allocations: 8.812 kB / 4.698 GB, free: 30.15 MB / 0.745 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000191/10.69, allocations: 59.84 kB / 4.698 GB, free: 30.09 MB / 0.745 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.097e-06/10.69, allocations: 12 kB / 4.698 GB, free: 30.08 MB / 0.745 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.26e-05/10.69, allocations: 8 kB / 4.698 GB, free: 30.07 MB / 0.745 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.175e-06/10.69, allocations: 8 kB / 4.698 GB, free: 30.06 MB / 0.745 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.733e-06/10.69, allocations: 11.88 kB / 4.698 GB, free: 30.05 MB / 0.745 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006861/10.69, allocations: 0.8365 MB / 4.699 GB, free: 28.96 MB / 0.745 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003055/10.69, allocations: 208 kB / 4.699 GB, free: 28.74 MB / 0.745 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001524/10.69, allocations: 12 kB / 4.699 GB, free: 28.73 MB / 0.745 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003195/10.69, allocations: 15.94 kB / 4.699 GB, free: 28.71 MB / 0.745 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.697e-05/10.69, allocations: 31.78 kB / 4.699 GB, free: 28.68 MB / 0.745 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-05/10.69, allocations: 20 kB / 4.699 GB, free: 28.66 MB / 0.745 GB Notification: Performance of sort global known variables: time 0.0004973/10.69, allocations: 471.1 kB / 4.699 GB, free: 28.21 MB / 0.745 GB Notification: Performance of remove unused functions: time 0.00187/10.69, allocations: 0.5063 MB / 4.7 GB, free: 27.7 MB / 0.745 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.004993/10.7, allocations: 2.445 MB / 4.702 GB, free: 25.53 MB / 0.745 GB Notification: Performance of simCode: created initialization part: time 0.0005564/10.7, allocations: 331.6 kB / 4.703 GB, free: 25.2 MB / 0.745 GB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/10.7, allocations: 4 kB / 4.703 GB, free: 25.2 MB / 0.745 GB Notification: Performance of simCode: created simulation system equations: time 0.0001744/10.7, allocations: 145.7 kB / 4.703 GB, free: 25.06 MB / 0.745 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002165/10.7, allocations: 429.9 kB / 4.703 GB, free: 24.65 MB / 0.745 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003451/10.7, allocations: 1.45 MB / 4.705 GB, free: 23.08 MB / 0.745 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001273/10.7, allocations: 1.292 MB / 4.706 GB, free: 21.76 MB / 0.745 GB Notification: Performance of SimCode: time 1.092e-06/10.7, allocations: 0 / 4.706 GB, free: 21.76 MB / 0.745 GB Notification: Performance of Templates: time 0.04324/10.75, allocations: 25.65 MB / 4.731 GB, free: 12.29 MB / 0.7607 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in.sim & ./BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1)