Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface.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.Movers.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface") translateModel(BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface") [: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.7157/0.7157, allocations: 141.8 MB / 149.1 MB, free: 15.78 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.001141/0.001141, allocations: 176.6 kB / 181.9 MB, free: 12.12 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.417/1.417, allocations: 221.3 MB / 436 MB, free: 4.828 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.0009574/0.0009575, allocations: 92.66 kB / 0.507 GB, free: 19.03 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001806/0.001806, allocations: 276.6 kB / 0.5884 GB, free: 6.074 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 8.035e-06/8.065e-06, allocations: 1.188 kB / 0.6759 GB, free: 139.3 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1995/0.1995, allocations: 82.77 MB / 0.7567 GB, free: 87.45 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.132/0.3316, allocations: 108.8 MB / 0.863 GB, free: 10.51 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000353/0.332, allocations: 78.05 kB / 0.863 GB, free: 10.43 MB / 0.5419 GB Notification: Performance of FrontEnd: time 0.009344/0.3413, allocations: 2.882 MB / 0.8659 GB, free: 7.547 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 9.117e-06/0.3414, allocations: 4 kB / 0.8659 GB, free: 7.543 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005526/0.342, allocations: 386.2 kB / 0.8662 GB, free: 7.121 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.342, allocations: 16.03 kB / 0.8662 GB, free: 7.105 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008817/0.3429, allocations: 99.78 kB / 0.8663 GB, free: 7.008 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001833/0.3431, allocations: 186.8 kB / 0.8665 GB, free: 6.785 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.191e-05/0.3431, allocations: 0 / 0.8665 GB, free: 6.785 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.462e-05/0.3432, allocations: 4 kB / 0.8665 GB, free: 6.781 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000193/0.3434, allocations: 71.89 kB / 0.8666 GB, free: 6.711 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/0.3436, allocations: 96.59 kB / 0.8667 GB, free: 6.613 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.3436, allocations: 0 / 0.8667 GB, free: 6.613 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.724e-05/0.3436, allocations: 0 / 0.8667 GB, free: 6.613 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.3436, allocations: 4 kB / 0.8667 GB, free: 6.609 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001128/0.3448, allocations: 420.9 kB / 0.8671 GB, free: 6.16 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001529/0.3449, allocations: 70.5 kB / 0.8671 GB, free: 6.082 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.982e-05/0.345, allocations: 32.97 kB / 0.8672 GB, free: 6.047 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.907e-05/0.345, allocations: 0 / 0.8672 GB, free: 6.047 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.3451, allocations: 34.56 kB / 0.8672 GB, free: 6.004 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=5): time 1.333e-06/0.3451, allocations: 0 / 0.8672 GB, free: 6.004 MB / 0.5419 GB Notification: Performance of matching and sorting (n=5): time 0.0002783/0.3454, allocations: 93.72 kB / 0.8673 GB, free: 5.906 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.3454, allocations: 51.41 kB / 0.8674 GB, free: 5.844 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.3455, allocations: 120.8 kB / 0.8675 GB, free: 5.719 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.3456, allocations: 29.7 kB / 0.8675 GB, free: 5.684 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 7e-05/0.3456, allocations: 103.9 kB / 0.8676 GB, free: 5.578 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 1.987e-05/0.3457, allocations: 15.75 kB / 0.8676 GB, free: 5.562 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.012e-05/0.3457, allocations: 0 / 0.8676 GB, free: 5.562 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.3458, allocations: 314.8 kB / 0.8679 GB, free: 5.246 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.738e-05/0.3459, allocations: 31.98 kB / 0.8679 GB, free: 5.215 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.71e-05/0.3459, allocations: 23.98 kB / 0.868 GB, free: 5.191 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.435e-05/0.346, allocations: 23.94 kB / 0.868 GB, free: 5.168 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.346, allocations: 0 / 0.868 GB, free: 5.168 MB / 0.5419 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001882/0.3462, allocations: 101.5 kB / 0.8681 GB, free: 5.062 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 6.416e-05/0.3463, allocations: 93 kB / 0.8682 GB, free: 4.965 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.874e-06/0.3463, allocations: 7.922 kB / 0.8682 GB, free: 4.957 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.3463, allocations: 0 / 0.8682 GB, free: 4.957 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003401/0.3467, allocations: 59.91 kB / 0.8682 GB, free: 4.898 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.3467, allocations: 4 kB / 0.8682 GB, free: 4.895 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00025/0.3469, allocations: 31.97 kB / 0.8683 GB, free: 4.863 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.347, allocations: 3.984 kB / 0.8683 GB, free: 4.859 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.347, allocations: 4 kB / 0.8683 GB, free: 4.855 MB / 0.5419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 8.302e-05/0.3471, allocations: 32.16 kB / 0.8683 GB, free: 4.824 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.164e-06/0.3471, allocations: 4 kB / 0.8683 GB, free: 4.82 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.705e-06/0.3471, allocations: 0 / 0.8683 GB, free: 4.82 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.272e-05/0.3472, allocations: 23.98 kB / 0.8683 GB, free: 4.797 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.893e-06/0.3472, allocations: 0 / 0.8683 GB, free: 4.797 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.269e-05/0.3473, allocations: 15.89 kB / 0.8683 GB, free: 4.781 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-06/0.3473, allocations: 0 / 0.8683 GB, free: 4.781 MB / 0.5419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001037/0.3474, allocations: 105 kB / 0.8684 GB, free: 4.672 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.953e-05/0.3474, allocations: 7.906 kB / 0.8685 GB, free: 4.664 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.304e-05/0.3475, allocations: 12.06 kB / 0.8685 GB, free: 4.656 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.3475, allocations: 0 / 0.8685 GB, free: 4.656 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.3475, allocations: 0 / 0.8685 GB, free: 4.656 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.3475, allocations: 3.984 kB / 0.8685 GB, free: 4.652 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004825/0.348, allocations: 368.7 kB / 0.8688 GB, free: 4.242 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.093e-06/0.348, allocations: 0 / 0.8688 GB, free: 4.242 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002875/0.3483, allocations: 47.92 kB / 0.8689 GB, free: 4.195 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.3484, allocations: 0 / 0.8689 GB, free: 4.195 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.75e-05/0.3484, allocations: 11.92 kB / 0.8689 GB, free: 4.184 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3484, allocations: 0 / 0.8689 GB, free: 4.184 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.3484, allocations: 0 / 0.8689 GB, free: 4.184 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002496/0.3486, allocations: 220.6 kB / 0.8691 GB, free: 3.934 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.824e-05/0.3487, allocations: 96.94 kB / 0.8692 GB, free: 3.82 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.924e-05/0.3488, allocations: 0 / 0.8692 GB, free: 3.82 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002917/0.3491, allocations: 39.81 kB / 0.8692 GB, free: 3.781 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.586e-05/0.3491, allocations: 7.984 kB / 0.8692 GB, free: 3.773 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.3491, allocations: 4.062 kB / 0.8692 GB, free: 3.77 MB / 0.5419 GB Notification: Performance of sort global known variables: time 6.738e-05/0.3492, allocations: 95.27 kB / 0.8693 GB, free: 3.676 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0003225/0.3495, allocations: 39.78 kB / 0.8694 GB, free: 3.637 MB / 0.5419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.0001484/0.3497, allocations: 107.2 kB / 0.8695 GB, free: 3.523 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0002904/0.35, allocations: 87.95 kB / 0.8695 GB, free: 3.438 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.35, allocations: 0 / 0.8695 GB, free: 3.438 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 7.652e-05/0.3501, allocations: 35.91 kB / 0.8696 GB, free: 3.402 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002149/0.3503, allocations: 7.625 kB / 0.8696 GB, free: 3.398 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008733/0.3512, allocations: 200.4 kB / 0.8698 GB, free: 3.172 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003601/0.3516, allocations: 0.7192 MB / 0.8705 GB, free: 2.426 MB / 0.5419 GB Notification: Performance of SimCode: time 3.9e-07/0.3516, allocations: 0 / 0.8705 GB, free: 2.426 MB / 0.5419 GB Notification: Performance of Templates: time 0.004385/0.356, allocations: 1.437 MB / 0.8719 GB, free: 0.9922 MB / 0.5419 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & ./BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1)