Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater.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.CoupledVolumesWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater") [: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.7878/0.7878, allocations: 141.8 MB / 149.1 MB, free: 4.445 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.001122/0.001122, allocations: 175.9 kB / 181.9 MB, free: 116 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.56/1.56, allocations: 221.4 MB / 436 MB, free: 9.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.001007/0.001007, allocations: 96.02 kB / 0.507 GB, free: 24.12 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001814/0.001814, allocations: 276.7 kB / 0.5884 GB, free: 12.27 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 9.999e-06/1.003e-05, allocations: 0 / 0.6759 GB, free: 2.633 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5792/0.5792, allocations: 82.76 MB / 0.7567 GB, free: 112.8 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8907/1.47, allocations: 370.5 MB / 1.119 GB, free: 11.96 MB / 0.6513 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003367/1.47, allocations: 88.8 kB / 1.119 GB, free: 11.91 MB / 0.6513 GB Notification: Performance of FrontEnd: time 1.06/2.531, allocations: 245.4 MB / 1.358 GB, free: 94.54 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 0.0001206/2.531, allocations: 22.05 kB / 1.358 GB, free: 94.52 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.002693/2.534, allocations: 0.8752 MB / 1.359 GB, free: 93.61 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 7.231e-05/2.534, allocations: 8.031 kB / 1.359 GB, free: 93.61 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006411/2.534, allocations: 83.14 kB / 1.359 GB, free: 93.52 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03043/2.565, allocations: 12.45 MB / 1.371 GB, free: 81.05 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.033e-05/2.565, allocations: 20 kB / 1.371 GB, free: 81.03 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002357/2.565, allocations: 27.91 kB / 1.371 GB, free: 81 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008552/2.566, allocations: 265.9 kB / 1.372 GB, free: 80.74 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009636/2.567, allocations: 430.2 kB / 1.372 GB, free: 80.29 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.699e-05/2.567, allocations: 3.984 kB / 1.372 GB, free: 80.28 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.543e-05/2.567, allocations: 4 kB / 1.372 GB, free: 80.28 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-05/2.567, allocations: 12 kB / 1.372 GB, free: 80.27 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003982/2.571, allocations: 2.646 MB / 1.375 GB, free: 77.42 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000218/2.572, allocations: 125.6 kB / 1.375 GB, free: 77.29 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001353/2.572, allocations: 102.3 kB / 1.375 GB, free: 77.19 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000377/2.572, allocations: 344.2 kB / 1.375 GB, free: 76.79 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.964e-05/2.572, allocations: 38.73 kB / 1.375 GB, free: 76.74 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=22): time 3.666e-06/2.572, allocations: 0 / 1.375 GB, free: 76.74 MB / 0.6982 GB Notification: Performance of matching and sorting (n=22): time 0.0008363/2.573, allocations: 237.3 kB / 1.376 GB, free: 76.5 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/2.573, allocations: 55.41 kB / 1.376 GB, free: 76.44 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006884/2.574, allocations: 426.2 kB / 1.376 GB, free: 76.02 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 4.998e-05/2.574, allocations: 33.64 kB / 1.376 GB, free: 75.98 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002037/2.574, allocations: 271.3 kB / 1.376 GB, free: 75.7 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 8.399e-05/2.574, allocations: 86.78 kB / 1.376 GB, free: 75.62 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.249e-05/2.574, allocations: 0 / 1.376 GB, free: 75.62 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 0.0001232/2.574, allocations: 358.8 kB / 1.377 GB, free: 75.26 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001211/2.574, allocations: 71.98 kB / 1.377 GB, free: 75.19 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001976/2.575, allocations: 230.8 kB / 1.377 GB, free: 74.89 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002877/2.575, allocations: 127.8 kB / 1.377 GB, free: 74.77 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/2.575, allocations: 0 / 1.377 GB, free: 74.77 MB / 0.6982 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006672/2.576, allocations: 352.8 kB / 1.377 GB, free: 74.42 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005715/2.576, allocations: 1.656 MB / 1.379 GB, free: 72.63 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.845e-05/2.576, allocations: 4 kB / 1.379 GB, free: 72.63 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.324e-05/2.576, allocations: 8 kB / 1.379 GB, free: 72.62 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003082/2.577, allocations: 79.84 kB / 1.379 GB, free: 72.54 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.731e-05/2.577, allocations: 8 kB / 1.379 GB, free: 72.54 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000597/2.577, allocations: 55.5 kB / 1.379 GB, free: 72.48 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.57e-05/2.577, allocations: 20 kB / 1.379 GB, free: 72.46 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/2.577, allocations: 4 kB / 1.379 GB, free: 72.46 MB / 0.6982 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004463/2.578, allocations: 267.7 kB / 1.38 GB, free: 72.2 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/2.578, allocations: 4 kB / 1.38 GB, free: 72.19 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.225e-06/2.578, allocations: 4 kB / 1.38 GB, free: 72.19 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002287/2.578, allocations: 75.91 kB / 1.38 GB, free: 72.11 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/2.578, allocations: 11.94 kB / 1.38 GB, free: 72.1 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00047/2.579, allocations: 44.06 kB / 1.38 GB, free: 72.06 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.71e-05/2.579, allocations: 16 kB / 1.38 GB, free: 72.04 MB / 0.6982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 44 * 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.000121/2.579, allocations: 120.8 kB / 1.38 GB, free: 71.92 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001086/2.579, allocations: 51.34 kB / 1.38 GB, free: 71.87 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005463/2.579, allocations: 277 kB / 1.38 GB, free: 71.59 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/2.579, allocations: 0 / 1.38 GB, free: 71.59 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/2.579, allocations: 4 kB / 1.38 GB, free: 71.59 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003397/2.58, allocations: 361.4 kB / 1.38 GB, free: 71.19 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001495/2.581, allocations: 0.9557 MB / 1.381 GB, free: 70.14 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/2.581, allocations: 4 kB / 1.381 GB, free: 70.14 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002215/2.581, allocations: 51.91 kB / 1.381 GB, free: 70.09 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.004e-06/2.582, allocations: 4 kB / 1.381 GB, free: 70.09 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.535e-05/2.582, allocations: 4 kB / 1.381 GB, free: 70.08 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/2.582, allocations: 4.281 kB / 1.381 GB, free: 70.08 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.942e-06/2.582, allocations: 7.938 kB / 1.381 GB, free: 70.07 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006365/2.582, allocations: 0.6075 MB / 1.382 GB, free: 69.36 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002582/2.582, allocations: 172.3 kB / 1.382 GB, free: 69.18 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.865e-05/2.583, allocations: 8 kB / 1.382 GB, free: 69.17 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004057/2.583, allocations: 35.94 kB / 1.382 GB, free: 69.13 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.054e-05/2.583, allocations: 11.98 kB / 1.382 GB, free: 69.12 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.995e-05/2.583, allocations: 19.98 kB / 1.382 GB, free: 69.1 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0003401/2.583, allocations: 330.9 kB / 1.383 GB, free: 68.78 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.001277/2.585, allocations: 363.1 kB / 1.383 GB, free: 68.43 MB / 0.6982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (vol.dynBal.U,vol1.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.00097/2.586, allocations: 412.5 kB / 1.383 GB, free: 68.05 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.0006458/2.586, allocations: 391.3 kB / 1.384 GB, free: 67.67 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/2.586, allocations: 0 / 1.384 GB, free: 67.67 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0001389/2.587, allocations: 102.1 kB / 1.384 GB, free: 67.57 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001651/2.588, allocations: 305.4 kB / 1.384 GB, free: 67.27 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002064/2.59, allocations: 0.8099 MB / 1.385 GB, free: 66.41 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00077/2.591, allocations: 0.9684 MB / 1.386 GB, free: 65.41 MB / 0.6982 GB Notification: Performance of SimCode: time 1.633e-06/2.591, allocations: 0 / 1.386 GB, free: 65.41 MB / 0.6982 GB Notification: Performance of Templates: time 0.02284/2.614, allocations: 12.78 MB / 1.398 GB, free: 52.82 MB / 0.6982 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe 2>&1)