Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary.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.Boundary,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary") translateModel(BuildingSystems.Fluid.Sources.Validation.Boundary,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary") [: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.7588/0.7588, allocations: 141.8 MB / 149.1 MB, free: 4.395 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 188.8 kB / 181.9 MB, free: 56 kB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 221.3 MB / 436 MB, free: 9.152 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009608/0.0009608, allocations: 97.12 kB / 0.507 GB, free: 24.29 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00189/0.00189, allocations: 275.2 kB / 0.5884 GB, free: 12.22 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 1.015e-05/1.028e-05, allocations: 4 kB / 0.6759 GB, free: 2.59 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4832/0.4832, allocations: 82.77 MB / 0.7567 GB, free: 112.8 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.101/6.585, allocations: 2.828 GB / 3.585 GB, free: 59.28 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002572/6.585, allocations: 80.7 kB / 3.585 GB, free: 59.2 MB / 0.6982 GB Notification: Performance of FrontEnd: time 6.689/13.27, allocations: 1.761 GB / 5.345 GB, free: 78.19 MB / 0.745 GB Notification: Performance of Transformations before backend: time 0.000313/13.27, allocations: 59.39 kB / 5.346 GB, free: 78.19 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: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 0.007898/13.28, allocations: 1.849 MB / 5.347 GB, free: 77.55 MB / 0.745 GB Notification: Performance of prepare preOptimizeDAE: time 5.74e-05/13.28, allocations: 10.19 kB / 5.347 GB, free: 77.55 MB / 0.745 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003357/13.29, allocations: 462.5 kB / 5.348 GB, free: 77.44 MB / 0.745 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004384/13.29, allocations: 1.318 MB / 5.349 GB, free: 77.12 MB / 0.745 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001344/13.29, allocations: 39.47 kB / 5.349 GB, free: 77.12 MB / 0.745 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006596/13.29, allocations: 82.5 kB / 5.349 GB, free: 77.12 MB / 0.745 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00332/13.29, allocations: 1.08 MB / 5.35 GB, free: 77.11 MB / 0.745 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003092/13.3, allocations: 1.473 MB / 5.352 GB, free: 76.8 MB / 0.745 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.942e-05/13.3, allocations: 8.281 kB / 5.352 GB, free: 76.8 MB / 0.745 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000157/13.3, allocations: 10.81 kB / 5.352 GB, free: 76.79 MB / 0.745 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-05/13.3, allocations: 52.42 kB / 5.352 GB, free: 76.79 MB / 0.745 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008108/13.31, allocations: 6.538 MB / 5.358 GB, free: 73.18 MB / 0.745 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008915/13.31, allocations: 0.6192 MB / 5.359 GB, free: 73.02 MB / 0.745 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006788/13.31, allocations: 0.5827 MB / 5.359 GB, free: 72.96 MB / 0.745 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001883/13.31, allocations: 2.608 MB / 5.362 GB, free: 70.15 MB / 0.745 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.663e-05/13.31, allocations: 51.91 kB / 5.362 GB, free: 70.11 MB / 0.745 GB Notification: Performance of pre-optimization done (n=72): time 3.256e-06/13.31, allocations: 0 / 5.362 GB, free: 70.11 MB / 0.745 GB Notification: Performance of matching and sorting (n=72): time 0.003725/13.31, allocations: 1.119 MB / 5.363 GB, free: 70.01 MB / 0.745 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.943e-05/13.31, allocations: 219.2 kB / 5.363 GB, free: 69.76 MB / 0.745 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001373/13.31, allocations: 0.783 MB / 5.364 GB, free: 69.62 MB / 0.745 GB Notification: Performance of collectPreVariables (initialization): time 0.0001502/13.31, allocations: 32.89 kB / 5.364 GB, free: 69.59 MB / 0.745 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003682/13.32, allocations: 0.5022 MB / 5.364 GB, free: 69.39 MB / 0.745 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002121/13.32, allocations: 229.2 kB / 5.365 GB, free: 69.27 MB / 0.745 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.04e-05/13.32, allocations: 0 / 5.365 GB, free: 69.27 MB / 0.745 GB Notification: Performance of setup shared object (initialization): time 7.656e-05/13.32, allocations: 341.5 kB / 5.365 GB, free: 68.96 MB / 0.745 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003438/13.32, allocations: 293.5 kB / 5.365 GB, free: 68.95 MB / 0.745 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005983/13.32, allocations: 0.5742 MB / 5.366 GB, free: 68.72 MB / 0.745 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001052/13.32, allocations: 461.7 kB / 5.366 GB, free: 68.72 MB / 0.745 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/13.32, allocations: 6.75 kB / 5.366 GB, free: 68.72 MB / 0.745 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001821/13.32, allocations: 0.937 MB / 5.367 GB, free: 68.62 MB / 0.745 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/13.32, allocations: 3.906 kB / 5.367 GB, free: 68.62 MB / 0.745 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/13.32, allocations: 3.625 kB / 5.367 GB, free: 68.62 MB / 0.745 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.838e-05/13.32, allocations: 8 kB / 5.367 GB, free: 68.62 MB / 0.745 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004317/13.32, allocations: 123.6 kB / 5.367 GB, free: 68.62 MB / 0.745 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.605e-05/13.32, allocations: 11.52 kB / 5.367 GB, free: 68.62 MB / 0.745 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008072/13.32, allocations: 46.52 kB / 5.367 GB, free: 68.61 MB / 0.745 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001788/13.32, allocations: 64.17 kB / 5.367 GB, free: 68.61 MB / 0.745 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 72 * 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.0001802/13.32, allocations: 131.1 kB / 5.368 GB, free: 68.5 MB / 0.745 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004034/13.32, allocations: 132.7 kB / 5.368 GB, free: 68.43 MB / 0.745 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002261/13.32, allocations: 1.078 MB / 5.369 GB, free: 68.38 MB / 0.745 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.078e-05/13.32, allocations: 10.03 kB / 5.369 GB, free: 68.38 MB / 0.745 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.571e-05/13.32, allocations: 5.688 kB / 5.369 GB, free: 68.38 MB / 0.745 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.194e-05/13.32, allocations: 7.797 kB / 5.369 GB, free: 68.38 MB / 0.745 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01121/13.33, allocations: 8.591 MB / 5.377 GB, free: 65.95 MB / 0.745 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-05/13.34, allocations: 16.94 kB / 5.377 GB, free: 65.95 MB / 0.745 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004722/13.34, allocations: 140.7 kB / 5.377 GB, free: 65.95 MB / 0.745 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.621e-05/13.34, allocations: 24.31 kB / 5.377 GB, free: 65.95 MB / 0.745 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.705e-05/13.34, allocations: 34.2 kB / 5.377 GB, free: 65.95 MB / 0.745 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-05/13.34, allocations: 30.36 kB / 5.377 GB, free: 65.95 MB / 0.745 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.655e-05/13.34, allocations: 23.16 kB / 5.377 GB, free: 65.95 MB / 0.745 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002727/13.34, allocations: 2.552 MB / 5.38 GB, free: 64.02 MB / 0.745 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000775/13.34, allocations: 317.2 kB / 5.38 GB, free: 63.86 MB / 0.745 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004038/13.34, allocations: 25.95 kB / 5.38 GB, free: 63.86 MB / 0.745 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009047/13.34, allocations: 26.44 kB / 5.38 GB, free: 63.85 MB / 0.745 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001387/13.34, allocations: 94.7 kB / 5.38 GB, free: 63.84 MB / 0.745 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.911e-05/13.34, allocations: 57.38 kB / 5.38 GB, free: 63.84 MB / 0.745 GB Notification: Performance of sort global known variables: time 0.001018/13.34, allocations: 0.6065 MB / 5.381 GB, free: 63.73 MB / 0.745 GB Notification: Performance of remove unused functions: time 0.003375/13.35, allocations: 0.7254 MB / 5.382 GB, free: 63.64 MB / 0.745 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 68 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.006958/13.35, allocations: 3.208 MB / 5.385 GB, free: 62.92 MB / 0.745 GB Notification: Performance of simCode: created initialization part: time 0.001461/13.35, allocations: 0.7931 MB / 5.386 GB, free: 62.92 MB / 0.745 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-05/13.35, allocations: 3.188 kB / 5.386 GB, free: 62.92 MB / 0.745 GB Notification: Performance of simCode: created simulation system equations: time 0.0006798/13.35, allocations: 473.1 kB / 5.386 GB, free: 62.92 MB / 0.745 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004241/13.36, allocations: 0.7264 MB / 5.387 GB, free: 62.91 MB / 0.745 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005759/13.36, allocations: 2.413 MB / 5.389 GB, free: 61.85 MB / 0.745 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002062/13.37, allocations: 1.541 MB / 5.391 GB, free: 61.14 MB / 0.745 GB Notification: Performance of SimCode: time 1.593e-06/13.37, allocations: 0 / 5.391 GB, free: 61.14 MB / 0.745 GB Notification: Performance of Templates: time 0.0651/13.43, allocations: 38.54 MB / 5.428 GB, free: 60.14 MB / 0.745 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary.sim & ./BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Validation.Boundary.pipe 2>&1)