Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.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.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling") [: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.8543/0.8543, allocations: 141.8 MB / 149.1 MB, free: 1.438 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.001205/0.001205, allocations: 184.8 kB / 182 MB, free: 13.54 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.547/1.547, allocations: 221.3 MB / 436 MB, free: 6.418 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.0009472/0.0009474, allocations: 101.2 kB / 0.507 GB, free: 19.02 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001871/0.001871, allocations: 290 kB / 0.5885 GB, free: 7.465 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 1.116e-05/1.12e-05, allocations: 2.656 kB / 0.6759 GB, free: 140.5 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2251/0.2251, allocations: 82.77 MB / 0.7567 GB, free: 90.04 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.602/4.827, allocations: 1.876 GB / 2.633 GB, free: 147.7 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002342/4.827, allocations: 79.95 kB / 2.633 GB, free: 147.6 MB / 0.6982 GB Notification: Performance of FrontEnd: time 1.106/5.933, allocations: 359.3 MB / 2.984 GB, free: 63.09 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 0.0001016/5.933, allocations: 16 kB / 2.984 GB, free: 63.08 MB / 0.6982 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.002811/5.936, allocations: 0.9713 MB / 2.985 GB, free: 62.06 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 5.537e-05/5.936, allocations: 12.03 kB / 2.985 GB, free: 62.05 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002368/5.938, allocations: 286.7 kB / 2.985 GB, free: 61.77 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002257/5.94, allocations: 0.6986 MB / 2.986 GB, free: 61.03 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.257e-05/5.941, allocations: 20 kB / 2.986 GB, free: 61.01 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002053/5.941, allocations: 36 kB / 2.986 GB, free: 60.98 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001103/5.942, allocations: 458.5 kB / 2.986 GB, free: 60.53 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009936/5.943, allocations: 483.9 kB / 2.987 GB, free: 60.05 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.217e-05/5.943, allocations: 3.906 kB / 2.987 GB, free: 60.05 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.434e-05/5.943, allocations: 0 / 2.987 GB, free: 60.05 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-05/5.943, allocations: 29.3 kB / 2.987 GB, free: 60.02 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003673/5.947, allocations: 2.261 MB / 2.989 GB, free: 57.58 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004601/5.947, allocations: 304 kB / 2.989 GB, free: 57.28 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002534/5.947, allocations: 206.1 kB / 2.99 GB, free: 57.07 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002053/5.948, allocations: 105 kB / 2.99 GB, free: 56.95 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/5.948, allocations: 38.56 kB / 2.99 GB, free: 56.91 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=43): time 2.395e-06/5.948, allocations: 0 / 2.99 GB, free: 56.91 MB / 0.6982 GB Notification: Performance of matching and sorting (n=48): time 0.002877/5.951, allocations: 1.201 MB / 2.991 GB, free: 55.65 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.551e-05/5.951, allocations: 59.84 kB / 2.991 GB, free: 55.58 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004548/5.951, allocations: 381.4 kB / 2.991 GB, free: 55.2 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 5.057e-05/5.951, allocations: 25.7 kB / 2.991 GB, free: 55.17 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/5.951, allocations: 252.4 kB / 2.992 GB, free: 54.92 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001387/5.951, allocations: 165.5 kB / 2.992 GB, free: 54.75 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.031e-05/5.951, allocations: 3.938 kB / 2.992 GB, free: 54.75 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 9.991e-05/5.952, allocations: 358.8 kB / 2.992 GB, free: 54.39 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002155/5.952, allocations: 165 kB / 2.992 GB, free: 54.23 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002508/5.952, allocations: 240.1 kB / 2.993 GB, free: 53.97 MB / 0.6982 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volExa.dynBal.medium.p = volExa.dynBal.p_start (bou.p = volExa.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volSim.dynBal.medium.p = volSim.dynBal.p_start (bou.p = volSim.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002431/5.954, allocations: 1.016 MB / 2.994 GB, free: 52.92 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/5.955, allocations: 0 / 2.994 GB, free: 52.92 MB / 0.6982 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006735/5.955, allocations: 498.3 kB / 2.994 GB, free: 52.43 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/5.955, allocations: 4 kB / 2.994 GB, free: 52.43 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/5.955, allocations: 0 / 2.994 GB, free: 52.43 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/5.955, allocations: 4.156 kB / 2.994 GB, free: 52.42 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000421/5.956, allocations: 107.8 kB / 2.994 GB, free: 52.32 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.382e-05/5.956, allocations: 4 kB / 2.994 GB, free: 52.31 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007433/5.956, allocations: 27.83 kB / 2.994 GB, free: 52.29 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-05/5.957, allocations: 20 kB / 2.994 GB, free: 52.27 MB / 0.6982 GB Warning: Assuming redundant initial conditions for the following 2 initial equations: volExa.dynBal.medium.p = volExa.dynBal.p_start volSim.dynBal.medium.p = volSim.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 56 * 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.0001456/5.957, allocations: 120.8 kB / 2.994 GB, free: 52.14 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001261/5.957, allocations: 63.25 kB / 2.994 GB, free: 52.08 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001699/5.957, allocations: 69.48 kB / 2.994 GB, free: 52.01 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/5.957, allocations: 4 kB / 2.994 GB, free: 52 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.796e-06/5.957, allocations: 0 / 2.994 GB, free: 52 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005275/5.958, allocations: 489.9 kB / 2.995 GB, free: 51.5 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002185/5.96, allocations: 1.453 MB / 2.996 GB, free: 49.94 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/5.96, allocations: 8.625 kB / 2.996 GB, free: 49.93 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005712/5.96, allocations: 123.8 kB / 2.996 GB, free: 49.81 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.173e-05/5.96, allocations: 8 kB / 2.996 GB, free: 49.8 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.182e-05/5.96, allocations: 15.91 kB / 2.996 GB, free: 49.79 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.925e-06/5.96, allocations: 15.92 kB / 2.996 GB, free: 49.77 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/5.96, allocations: 4 kB / 2.996 GB, free: 49.77 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001061/5.962, allocations: 1.13 MB / 2.998 GB, free: 48.42 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003252/5.962, allocations: 192.3 kB / 2.998 GB, free: 48.21 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001168/5.962, allocations: 8 kB / 2.998 GB, free: 48.21 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006522/5.963, allocations: 23.89 kB / 2.998 GB, free: 48.18 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.314e-05/5.963, allocations: 43.86 kB / 2.998 GB, free: 48.14 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.77e-05/5.963, allocations: 24 kB / 2.998 GB, free: 48.12 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0003135/5.963, allocations: 298.9 kB / 2.998 GB, free: 47.83 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.0009682/5.964, allocations: 251.9 kB / 2.998 GB, free: 47.58 MB / 0.6982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 4 (volSim.dynBal.U,volSim.dynBal.mXi[1],volExa.dynBal.U,volExa.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 49 * 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.001855/5.966, allocations: 1.211 MB / 3 GB, free: 46.37 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.0006223/5.967, allocations: 408.8 kB / 3 GB, free: 45.96 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/5.967, allocations: 0 / 3 GB, free: 45.96 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0002612/5.967, allocations: 219.7 kB / 3 GB, free: 45.75 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001837/5.969, allocations: 393.3 kB / 3.001 GB, free: 45.38 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002223/5.971, allocations: 1.232 MB / 3.002 GB, free: 44.05 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006539/5.972, allocations: 1.05 MB / 3.003 GB, free: 42.98 MB / 0.6982 GB Notification: Performance of SimCode: time 6.41e-07/5.972, allocations: 0 / 3.003 GB, free: 42.98 MB / 0.6982 GB Notification: Performance of Templates: time 0.02735/5.999, allocations: 18.06 MB / 3.02 GB, free: 25.07 MB / 0.6982 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1)