Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.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.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5") translateModel(BuildingSystems.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5") [: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.7667/0.7667, allocations: 141.8 MB / 149.1 MB, free: 14.14 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.001098/0.001098, allocations: 172.9 kB / 182 MB, free: 10.68 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.527/1.527, allocations: 221.3 MB / 436 MB, free: 3.238 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.001146/0.001147, allocations: 97.02 kB / 0.507 GB, free: 18.21 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002111/0.002111, allocations: 273 kB / 0.5885 GB, free: 4.672 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 9.237e-06/9.257e-06, allocations: 0.9062 kB / 0.6759 GB, free: 137.6 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1899/0.1899, allocations: 82.78 MB / 0.7567 GB, free: 84.86 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1344/0.3243, allocations: 107 MB / 0.8612 GB, free: 9.707 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002319/0.3246, allocations: 75.95 kB / 0.8613 GB, free: 9.633 MB / 0.5419 GB Notification: Performance of FrontEnd: time 0.001052/0.3256, allocations: 165.2 kB / 0.8615 GB, free: 9.473 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 7.243e-06/0.3257, allocations: 0 / 0.8615 GB, free: 9.473 MB / 0.5419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002688/0.3259, allocations: 314.5 kB / 0.8618 GB, free: 9.121 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.326, allocations: 13.03 kB / 0.8618 GB, free: 9.109 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.736e-05/0.326, allocations: 4 kB / 0.8618 GB, free: 9.105 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002329/0.3263, allocations: 175 kB / 0.8619 GB, free: 8.895 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.297e-06/0.3263, allocations: 0 / 0.8619 GB, free: 8.895 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.929e-05/0.3263, allocations: 4 kB / 0.862 GB, free: 8.891 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.23e-05/0.3263, allocations: 7.875 kB / 0.862 GB, free: 8.883 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.698e-05/0.3264, allocations: 29.7 kB / 0.862 GB, free: 8.848 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.3265, allocations: 3.984 kB / 0.862 GB, free: 8.844 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.3265, allocations: 0 / 0.862 GB, free: 8.844 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.3265, allocations: 7.906 kB / 0.862 GB, free: 8.836 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001389/0.3266, allocations: 130.2 kB / 0.8621 GB, free: 8.672 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 3.954e-05/0.3267, allocations: 22.59 kB / 0.8621 GB, free: 8.641 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.952e-05/0.3267, allocations: 8.922 kB / 0.8622 GB, free: 8.629 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/0.3267, allocations: 0 / 0.8622 GB, free: 8.629 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.089e-05/0.3268, allocations: 34.5 kB / 0.8622 GB, free: 8.586 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=1): time 7.62e-07/0.3268, allocations: 0 / 0.8622 GB, free: 8.586 MB / 0.5419 GB Notification: Performance of matching and sorting (n=1): time 0.0001229/0.3269, allocations: 41.69 kB / 0.8622 GB, free: 8.539 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.921e-05/0.3269, allocations: 51.41 kB / 0.8623 GB, free: 8.477 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.712e-05/0.327, allocations: 112.9 kB / 0.8624 GB, free: 8.355 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.327, allocations: 25.7 kB / 0.8624 GB, free: 8.324 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 3.508e-05/0.3271, allocations: 84.14 kB / 0.8625 GB, free: 8.238 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 1.477e-05/0.3271, allocations: 3.938 kB / 0.8625 GB, free: 8.234 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.674e-06/0.3271, allocations: 0 / 0.8625 GB, free: 8.234 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.3272, allocations: 314.8 kB / 0.8628 GB, free: 7.918 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.027e-05/0.3272, allocations: 8.016 kB / 0.8628 GB, free: 7.91 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.236e-05/0.3273, allocations: 13.72 kB / 0.8628 GB, free: 7.891 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.526e-05/0.3273, allocations: 8 kB / 0.8628 GB, free: 7.883 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.3273, allocations: 0 / 0.8628 GB, free: 7.883 MB / 0.5419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.831e-05/0.3274, allocations: 49.53 kB / 0.8629 GB, free: 7.828 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.3274, allocations: 8 kB / 0.8629 GB, free: 7.82 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.3274, allocations: 4.062 kB / 0.8629 GB, free: 7.816 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.3274, allocations: 4 kB / 0.8629 GB, free: 7.812 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.14e-05/0.3275, allocations: 11.97 kB / 0.8629 GB, free: 7.801 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.3275, allocations: 0 / 0.8629 GB, free: 7.801 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.3e-05/0.3275, allocations: 0 / 0.8629 GB, free: 7.801 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-06/0.3276, allocations: 4 kB / 0.8629 GB, free: 7.797 MB / 0.5419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 6.814e-05/0.3276, allocations: 104.9 kB / 0.863 GB, free: 7.688 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.194e-06/0.3276, allocations: 0 / 0.863 GB, free: 7.688 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001167/0.3278, allocations: 52.78 kB / 0.863 GB, free: 7.629 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.3278, allocations: 4.031 kB / 0.8631 GB, free: 7.625 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.3278, allocations: 3.938 kB / 0.8631 GB, free: 7.621 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3278, allocations: 0 / 0.8631 GB, free: 7.621 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.882e-05/0.3279, allocations: 134.1 kB / 0.8632 GB, free: 7.453 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.3279, allocations: 0 / 0.8632 GB, free: 7.453 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.388e-05/0.328, allocations: 7.984 kB / 0.8632 GB, free: 7.445 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.328, allocations: 0 / 0.8632 GB, free: 7.445 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.328, allocations: 4 kB / 0.8632 GB, free: 7.441 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.328, allocations: 0 / 0.8632 GB, free: 7.441 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.328, allocations: 0 / 0.8632 GB, free: 7.441 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001247/0.3281, allocations: 84.97 kB / 0.8633 GB, free: 7.34 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.487e-05/0.3282, allocations: 85.12 kB / 0.8634 GB, free: 7.238 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.557e-05/0.3282, allocations: 3.906 kB / 0.8634 GB, free: 7.234 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.187e-05/0.3282, allocations: 0 / 0.8634 GB, free: 7.234 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.029e-05/0.3283, allocations: 0 / 0.8634 GB, free: 7.234 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.255e-06/0.3283, allocations: 0 / 0.8634 GB, free: 7.234 MB / 0.5419 GB Notification: Performance of sort global known variables: time 5.422e-05/0.3283, allocations: 83.28 kB / 0.8634 GB, free: 7.152 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0001858/0.3285, allocations: 12.09 kB / 0.8635 GB, free: 7.141 MB / 0.5419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001464/0.3287, allocations: 103.2 kB / 0.8636 GB, free: 7.027 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 7.228e-05/0.3288, allocations: 8 kB / 0.8636 GB, free: 7.02 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.3288, allocations: 4 kB / 0.8636 GB, free: 7.016 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 1.473e-05/0.3288, allocations: 11.92 kB / 0.8636 GB, free: 7.004 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001085/0.3289, allocations: 0 / 0.8636 GB, free: 7.004 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002385/0.3292, allocations: 75.64 kB / 0.8636 GB, free: 6.91 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002997/0.3295, allocations: 0.6921 MB / 0.8643 GB, free: 6.191 MB / 0.5419 GB Notification: Performance of SimCode: time 2.4e-07/0.3295, allocations: 0 / 0.8643 GB, free: 6.191 MB / 0.5419 GB Notification: Performance of Templates: time 0.002043/0.3315, allocations: 280.5 kB / 0.8646 GB, free: 5.918 MB / 0.5419 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe 2>&1)