Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.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.MixingVolumeMFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor") [: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.7727/0.7727, allocations: 141.8 MB / 149.1 MB, free: 1.387 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.001123, allocations: 181.2 kB / 182 MB, free: 0.7656 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.477/1.477, allocations: 221.4 MB / 436.1 MB, free: 5.5 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.001043/0.001043, allocations: 100.5 kB / 0.507 GB, free: 2.172 MB / 410.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001756/0.001756, allocations: 269.9 kB / 0.5885 GB, free: 47.28 MB / 410.9 MB Notification: Performance of FrontEnd - loaded program: time 7.724e-06/7.754e-06, allocations: 1.625 kB / 0.6759 GB, free: 59.52 MB / 442.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.185/0.185, allocations: 82.78 MB / 0.7567 GB, free: 0.7148 MB / 442.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.606/4.791, allocations: 1.882 GB / 2.639 GB, free: 85.73 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003971/4.792, allocations: 83.95 kB / 2.639 GB, free: 85.64 MB / 0.6982 GB Notification: Performance of FrontEnd: time 2.989/7.781, allocations: 0.7568 GB / 3.396 GB, free: 106.5 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 0.0002126/7.781, allocations: 38.73 kB / 3.396 GB, free: 106.5 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.005008/7.786, allocations: 1.529 MB / 3.397 GB, free: 104.9 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/7.786, allocations: 15.31 kB / 3.397 GB, free: 104.9 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004239/7.791, allocations: 0.5098 MB / 3.398 GB, free: 104.4 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00335/7.794, allocations: 1.102 MB / 3.399 GB, free: 103.3 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.999e-05/7.794, allocations: 36 kB / 3.399 GB, free: 103.2 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004436/7.795, allocations: 64 kB / 3.399 GB, free: 103.2 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002413/7.797, allocations: 0.957 MB / 3.4 GB, free: 102.2 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002691/7.8, allocations: 1.065 MB / 3.401 GB, free: 101.1 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.031e-05/7.8, allocations: 12.38 kB / 3.401 GB, free: 101.1 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000219/7.8, allocations: 4 kB / 3.401 GB, free: 101.1 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-05/7.8, allocations: 42.08 kB / 3.401 GB, free: 101.1 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007976/7.808, allocations: 3.968 MB / 3.405 GB, free: 96.9 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006857/7.809, allocations: 462.8 kB / 3.405 GB, free: 96.45 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005824/7.809, allocations: 434.6 kB / 3.406 GB, free: 96.02 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004182/7.81, allocations: 294.3 kB / 3.406 GB, free: 95.69 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/7.81, allocations: 43.22 kB / 3.406 GB, free: 95.64 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=74): time 3.867e-06/7.81, allocations: 0 / 3.406 GB, free: 95.64 MB / 0.6982 GB Notification: Performance of matching and sorting (n=77): time 0.005271/7.815, allocations: 1.987 MB / 3.408 GB, free: 93.6 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/7.815, allocations: 60.06 kB / 3.408 GB, free: 93.53 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001017/7.816, allocations: 0.5947 MB / 3.408 GB, free: 92.93 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 0.0001271/7.816, allocations: 29.7 kB / 3.408 GB, free: 92.89 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002417/7.817, allocations: 443.1 kB / 3.409 GB, free: 92.45 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002602/7.817, allocations: 266.5 kB / 3.409 GB, free: 92.19 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.631e-05/7.817, allocations: 3.938 kB / 3.409 GB, free: 92.19 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 8.147e-05/7.817, allocations: 338 kB / 3.409 GB, free: 91.85 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004344/7.818, allocations: 293.9 kB / 3.41 GB, free: 91.57 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005101/7.818, allocations: 0.4931 MB / 3.41 GB, free: 91 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005373/7.819, allocations: 390.2 kB / 3.411 GB, free: 90.62 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/7.819, allocations: 0 / 3.411 GB, free: 90.62 MB / 0.6982 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001412/7.82, allocations: 0.8902 MB / 3.411 GB, free: 89.72 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/7.82, allocations: 4 kB / 3.411 GB, free: 89.72 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/7.82, allocations: 4 kB / 3.411 GB, free: 89.71 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.932e-05/7.82, allocations: 15 kB / 3.412 GB, free: 89.7 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007315/7.821, allocations: 175.7 kB / 3.412 GB, free: 89.53 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.684e-05/7.821, allocations: 8 kB / 3.412 GB, free: 89.52 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0014/7.822, allocations: 47.31 kB / 3.412 GB, free: 89.48 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/7.822, allocations: 32 kB / 3.412 GB, free: 89.45 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 (102): * Single equations (assignments): 102 * 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.000212/7.823, allocations: 130 kB / 3.412 GB, free: 89.32 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002582/7.823, allocations: 106.2 kB / 3.412 GB, free: 89.22 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003074/7.823, allocations: 121.8 kB / 3.412 GB, free: 89.09 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/7.823, allocations: 8 kB / 3.412 GB, free: 89.09 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.875e-05/7.823, allocations: 0 / 3.412 GB, free: 89.09 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001206/7.824, allocations: 0.975 MB / 3.413 GB, free: 88.04 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004253/7.829, allocations: 2.466 MB / 3.415 GB, free: 85.46 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.558e-06/7.829, allocations: 7.984 kB / 3.415 GB, free: 85.46 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007584/7.83, allocations: 150.7 kB / 3.416 GB, free: 85.31 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003746/7.83, allocations: 93.66 kB / 3.416 GB, free: 85.21 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.362e-05/7.83, allocations: 23.48 kB / 3.416 GB, free: 85.2 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002189/7.832, allocations: 2.783 MB / 3.418 GB, free: 82.19 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.346e-06/7.832, allocations: 11.94 kB / 3.418 GB, free: 82.18 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002346/7.835, allocations: 1.84 MB / 3.42 GB, free: 80.11 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009155/7.836, allocations: 279.3 kB / 3.421 GB, free: 79.82 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003254/7.836, allocations: 15.92 kB / 3.421 GB, free: 79.8 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001307/7.837, allocations: 55.11 kB / 3.421 GB, free: 79.75 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.426e-05/7.837, allocations: 55.2 kB / 3.421 GB, free: 79.7 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001022/7.837, allocations: 43.97 kB / 3.421 GB, free: 79.66 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0007856/7.838, allocations: 467.1 kB / 3.421 GB, free: 79.21 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.002352/7.841, allocations: 464 kB / 3.422 GB, free: 78.75 MB / 0.6982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 6 (vol.dynBal.U,vol.dynBal.mXi[1],volMFactor.dynBal.U,volMFactor.dynBal.mXi[1],vol1.dynBal.U,vol1.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 71 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003151/7.844, allocations: 1.89 MB / 3.423 GB, free: 77.22 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.001265/7.845, allocations: 0.7252 MB / 3.424 GB, free: 76.5 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 8.366e-06/7.845, allocations: 0 / 3.424 GB, free: 76.5 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.000862/7.846, allocations: 0.5886 MB / 3.425 GB, free: 75.89 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00356/7.849, allocations: 0.6154 MB / 3.425 GB, free: 75.29 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00483/7.854, allocations: 2.089 MB / 3.427 GB, free: 73.12 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00157/7.856, allocations: 1.344 MB / 3.429 GB, free: 71.75 MB / 0.6982 GB Notification: Performance of SimCode: time 1.082e-06/7.856, allocations: 4 kB / 3.429 GB, free: 71.75 MB / 0.6982 GB Notification: Performance of Templates: time 0.04999/7.906, allocations: 30.04 MB / 3.458 GB, free: 42.23 MB / 0.6982 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1)