Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicit.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.FixedResistances.Validation.PressureDropsExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicit") translateModel(BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicit") [: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.7434/0.7434, allocations: 141.8 MB / 149.1 MB, free: 15.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.001101/0.001101, allocations: 180.5 kB / 181.9 MB, free: 7.016 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.421/1.421, allocations: 221.3 MB / 436 MB, free: 15.13 MB / 346.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 103.7 kB / 0.507 GB, free: 8.254 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001901/0.001902, allocations: 277.1 kB / 0.5885 GB, free: 5.078 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 1.456e-05/1.46e-05, allocations: 1.75 kB / 0.6759 GB, free: 166.5 MB / 0.5419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1986/0.1986, allocations: 82.78 MB / 0.7567 GB, free: 114.1 MB / 0.5419 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.409/4.608, allocations: 1.832 GB / 2.589 GB, free: 263.2 MB / 0.7138 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002245/4.608, allocations: 83.28 kB / 2.589 GB, free: 263.1 MB / 0.7138 GB Notification: Performance of FrontEnd: time 4.941/9.549, allocations: 1.431 GB / 4.02 GB, free: 81.31 MB / 0.745 GB Notification: Performance of Transformations before backend: time 0.0001225/9.549, allocations: 40.23 kB / 4.02 GB, free: 81.31 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: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.004091/9.553, allocations: 1.677 MB / 4.021 GB, free: 80.69 MB / 0.745 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/9.553, allocations: 7 kB / 4.021 GB, free: 80.69 MB / 0.745 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008482/9.554, allocations: 200.9 kB / 4.021 GB, free: 80.61 MB / 0.745 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002041/9.556, allocations: 0.97 MB / 4.022 GB, free: 80.3 MB / 0.745 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001094/9.556, allocations: 92.88 kB / 4.022 GB, free: 80.24 MB / 0.745 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.081e-05/9.556, allocations: 53.56 kB / 4.022 GB, free: 80.24 MB / 0.745 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007374/9.557, allocations: 418 kB / 4.023 GB, free: 80.23 MB / 0.745 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001005/9.558, allocations: 0.7818 MB / 4.024 GB, free: 79.96 MB / 0.745 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.243e-05/9.558, allocations: 3.375 kB / 4.024 GB, free: 79.96 MB / 0.745 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.945e-05/9.558, allocations: 9.5 kB / 4.024 GB, free: 79.96 MB / 0.745 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.892e-05/9.558, allocations: 22.44 kB / 4.024 GB, free: 79.96 MB / 0.745 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004182/9.562, allocations: 4.849 MB / 4.028 GB, free: 76.47 MB / 0.745 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003508/9.563, allocations: 394.8 kB / 4.029 GB, free: 76.14 MB / 0.745 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002347/9.563, allocations: 260.9 kB / 4.029 GB, free: 76.03 MB / 0.745 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001472/9.563, allocations: 102.3 kB / 4.029 GB, free: 75.94 MB / 0.745 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/9.563, allocations: 58.66 kB / 4.029 GB, free: 75.9 MB / 0.745 GB Notification: Performance of pre-optimization done (n=33): time 2.084e-06/9.563, allocations: 0 / 4.029 GB, free: 75.9 MB / 0.745 GB Notification: Performance of matching and sorting (n=33): time 0.001288/9.564, allocations: 459.5 kB / 4.03 GB, free: 75.79 MB / 0.745 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.978e-05/9.564, allocations: 398.9 kB / 4.03 GB, free: 75.32 MB / 0.745 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006978/9.565, allocations: 0.644 MB / 4.031 GB, free: 75.19 MB / 0.745 GB Notification: Performance of collectPreVariables (initialization): time 4.198e-05/9.565, allocations: 29.39 kB / 4.031 GB, free: 75.16 MB / 0.745 GB Notification: Performance of collectInitialEqns (initialization): time 0.000206/9.565, allocations: 388.6 kB / 4.031 GB, free: 74.98 MB / 0.745 GB Notification: Performance of collectInitialBindings (initialization): time 7.131e-05/9.565, allocations: 109.9 kB / 4.031 GB, free: 74.93 MB / 0.745 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.31e-05/9.565, allocations: 2.625 kB / 4.031 GB, free: 74.93 MB / 0.745 GB Notification: Performance of setup shared object (initialization): time 6.849e-05/9.566, allocations: 316.8 kB / 4.031 GB, free: 74.62 MB / 0.745 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001222/9.566, allocations: 82.23 kB / 4.032 GB, free: 74.62 MB / 0.745 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002786/9.566, allocations: 352.1 kB / 4.032 GB, free: 74.32 MB / 0.745 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000174/9.566, allocations: 135.8 kB / 4.032 GB, free: 74.32 MB / 0.745 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/9.566, allocations: 0 / 4.032 GB, free: 74.32 MB / 0.745 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007674/9.567, allocations: 467 kB / 4.032 GB, free: 74.21 MB / 0.745 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002674/9.567, allocations: 1.318 MB / 4.034 GB, free: 72.85 MB / 0.745 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/9.567, allocations: 3.969 kB / 4.034 GB, free: 72.85 MB / 0.745 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002076/9.567, allocations: 63.62 kB / 4.034 GB, free: 72.83 MB / 0.745 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004624/9.568, allocations: 94.11 kB / 4.034 GB, free: 72.83 MB / 0.745 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001068/9.569, allocations: 2.334 MB / 4.036 GB, free: 70.62 MB / 0.745 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006899/9.57, allocations: 65.34 kB / 4.036 GB, free: 70.62 MB / 0.745 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.195e-05/9.57, allocations: 25.78 kB / 4.036 GB, free: 70.62 MB / 0.745 GB Notification: Performance of prepare postOptimizeDAE: time 7.234e-06/9.57, allocations: 3.094 kB / 4.036 GB, free: 70.62 MB / 0.745 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005062/9.57, allocations: 285.6 kB / 4.037 GB, free: 70.6 MB / 0.745 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/9.57, allocations: 3.406 kB / 4.037 GB, free: 70.6 MB / 0.745 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002058/9.571, allocations: 72.3 kB / 4.037 GB, free: 70.58 MB / 0.745 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002419/9.571, allocations: 70.95 kB / 4.037 GB, free: 70.58 MB / 0.745 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001776/9.573, allocations: 2.775 MB / 4.039 GB, free: 68.05 MB / 0.745 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005732/9.573, allocations: 57.34 kB / 4.039 GB, free: 68.04 MB / 0.745 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.107e-05/9.573, allocations: 25.64 kB / 4.039 GB, free: 68.04 MB / 0.745 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0001545/9.573, allocations: 126.1 kB / 4.04 GB, free: 67.93 MB / 0.745 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003576/9.574, allocations: 105.6 kB / 4.04 GB, free: 67.88 MB / 0.745 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005806/9.574, allocations: 328.7 kB / 4.04 GB, free: 67.82 MB / 0.745 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/9.574, allocations: 6.375 kB / 4.04 GB, free: 67.82 MB / 0.745 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/9.574, allocations: 3.781 kB / 4.04 GB, free: 67.82 MB / 0.745 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/9.574, allocations: 3.844 kB / 4.04 GB, free: 67.82 MB / 0.745 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002663/9.577, allocations: 2.39 MB / 4.042 GB, free: 66.39 MB / 0.745 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.383e-06/9.577, allocations: 10.72 kB / 4.042 GB, free: 66.39 MB / 0.745 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002645/9.577, allocations: 75.61 kB / 4.042 GB, free: 66.39 MB / 0.745 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001178/9.577, allocations: 61.47 kB / 4.042 GB, free: 66.38 MB / 0.745 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.122e-05/9.577, allocations: 9.719 kB / 4.042 GB, free: 66.38 MB / 0.745 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008475/9.578, allocations: 2.323 MB / 4.045 GB, free: 64.16 MB / 0.745 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/9.578, allocations: 8.906 kB / 4.045 GB, free: 64.16 MB / 0.745 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000731/9.579, allocations: 0.9417 MB / 4.046 GB, free: 63.38 MB / 0.745 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002707/9.579, allocations: 218.6 kB / 4.046 GB, free: 63.23 MB / 0.745 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001105/9.579, allocations: 7.781 kB / 4.046 GB, free: 63.23 MB / 0.745 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006342/9.58, allocations: 56.75 kB / 4.046 GB, free: 63.23 MB / 0.745 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.166e-05/9.58, allocations: 38.55 kB / 4.046 GB, free: 63.23 MB / 0.745 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.575e-05/9.58, allocations: 24.08 kB / 4.046 GB, free: 63.23 MB / 0.745 GB Notification: Performance of sort global known variables: time 0.0005326/9.581, allocations: 0.4944 MB / 4.047 GB, free: 63.12 MB / 0.745 GB Notification: Performance of remove unused functions: time 0.002428/9.583, allocations: 0.7376 MB / 4.047 GB, free: 63.07 MB / 0.745 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.005091/9.588, allocations: 3.943 MB / 4.051 GB, free: 61.49 MB / 0.745 GB Notification: Performance of simCode: created initialization part: time 0.001548/9.59, allocations: 0.6592 MB / 4.052 GB, free: 61.28 MB / 0.745 GB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/9.59, allocations: 384 / 4.052 GB, free: 61.28 MB / 0.745 GB Notification: Performance of simCode: created simulation system equations: time 0.0003827/9.59, allocations: 173.2 kB / 4.052 GB, free: 61.28 MB / 0.745 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002334/9.593, allocations: 416.2 kB / 4.052 GB, free: 61.26 MB / 0.745 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002956/9.596, allocations: 1.318 MB / 4.054 GB, free: 60.71 MB / 0.745 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000875/9.596, allocations: 1.226 MB / 4.055 GB, free: 60 MB / 0.745 GB Notification: Performance of SimCode: time 1.192e-06/9.596, allocations: 0 / 4.055 GB, free: 60 MB / 0.745 GB Notification: Performance of Templates: time 0.05944/9.656, allocations: 35.59 MB / 4.09 GB, free: 58.52 MB / 0.745 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicit.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicit.sim & ./BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicit -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe 2>&1)