Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.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.BaseClasses.Validation.MixingVolumeHeatMoisturePort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort") translateModel(BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort") [: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.7944/0.7944, allocations: 141.8 MB / 149.1 MB, free: 2.434 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.001246/0.001246, allocations: 178.7 kB / 181.9 MB, free: 14.39 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.541/1.541, allocations: 221.4 MB / 436 MB, free: 7.309 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.001334/0.001334, allocations: 96.81 kB / 0.507 GB, free: 24.48 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002731/0.002731, allocations: 291.8 kB / 0.5884 GB, free: 10.56 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 8.496e-06/8.767e-06, allocations: 0 / 0.6759 GB, free: 0.9297 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5737/0.5737, allocations: 82.76 MB / 0.7567 GB, free: 111.2 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.45/6.024, allocations: 2.126 GB / 2.883 GB, free: 223.7 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004375/6.024, allocations: 96.53 kB / 2.883 GB, free: 223.6 MB / 0.6982 GB Notification: Performance of FrontEnd: time 2.281/8.305, allocations: 0.7129 GB / 3.596 GB, free: 30.83 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 0.0002054/8.305, allocations: 35.98 kB / 3.596 GB, free: 30.8 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: 262 * Number of variables: 262 Notification: Performance of Generate backend data structure: time 0.004431/8.31, allocations: 1.535 MB / 3.597 GB, free: 29.21 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/8.31, allocations: 8.031 kB / 3.597 GB, free: 29.2 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003885/8.314, allocations: 0.5054 MB / 3.598 GB, free: 28.7 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003629/8.317, allocations: 1.362 MB / 3.599 GB, free: 27.29 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.124e-05/8.317, allocations: 32 kB / 3.599 GB, free: 27.26 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004045/8.318, allocations: 64 kB / 3.599 GB, free: 27.2 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002459/8.32, allocations: 1.23 MB / 3.6 GB, free: 25.96 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00228/8.323, allocations: 1.175 MB / 3.602 GB, free: 24.76 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.376e-05/8.323, allocations: 8 kB / 3.602 GB, free: 24.75 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001387/8.323, allocations: 0 / 3.602 GB, free: 24.75 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.613e-05/8.323, allocations: 42.05 kB / 3.602 GB, free: 24.71 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007675/8.33, allocations: 4.934 MB / 3.606 GB, free: 19.41 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001305/8.332, allocations: 1.019 MB / 3.607 GB, free: 18.39 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006592/8.332, allocations: 0.5948 MB / 3.608 GB, free: 17.79 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003102/8.333, allocations: 202.8 kB / 3.608 GB, free: 17.56 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.454e-05/8.333, allocations: 55.25 kB / 3.608 GB, free: 17.49 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=81): time 3.477e-06/8.333, allocations: 0 / 3.608 GB, free: 17.49 MB / 0.6982 GB Notification: Performance of matching and sorting (n=84): time 0.005742/8.339, allocations: 2.638 MB / 3.611 GB, free: 14.8 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.429e-05/8.339, allocations: 60.19 kB / 3.611 GB, free: 14.72 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001209/8.34, allocations: 0.7824 MB / 3.612 GB, free: 13.92 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 0.0001181/8.34, allocations: 25.7 kB / 3.612 GB, free: 13.89 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002126/8.34, allocations: 404 kB / 3.612 GB, free: 13.48 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.000309/8.341, allocations: 291.6 kB / 3.612 GB, free: 13.2 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.246e-05/8.341, allocations: 0 / 3.612 GB, free: 13.2 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 9.44e-05/8.341, allocations: 341.9 kB / 3.613 GB, free: 12.86 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005394/8.341, allocations: 453.9 kB / 3.613 GB, free: 12.41 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006137/8.342, allocations: 0.6051 MB / 3.614 GB, free: 11.75 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006709/8.343, allocations: 0.5665 MB / 3.614 GB, free: 11.19 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/8.343, allocations: 0 / 3.614 GB, free: 11.19 MB / 0.6982 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001818/8.344, allocations: 1.235 MB / 3.615 GB, free: 9.945 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002168/8.345, allocations: 0.7813 MB / 3.616 GB, free: 9.105 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/8.345, allocations: 8 kB / 3.616 GB, free: 9.098 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002638/8.345, allocations: 72.75 kB / 3.616 GB, free: 9.023 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001058/8.346, allocations: 187.8 kB / 3.616 GB, free: 8.84 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00215/8.348, allocations: 2.904 MB / 3.619 GB, free: 5.773 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001654/8.35, allocations: 103.7 kB / 3.619 GB, free: 5.672 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001055/8.35, allocations: 32.05 kB / 3.619 GB, free: 5.641 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 9.077e-06/8.35, allocations: 4 kB / 3.619 GB, free: 5.637 MB / 0.6982 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001406/8.351, allocations: 1.087 MB / 3.621 GB, free: 4.543 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/8.351, allocations: 4.25 kB / 3.621 GB, free: 4.539 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001694/8.352, allocations: 72.81 kB / 3.621 GB, free: 4.465 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006769/8.352, allocations: 171.7 kB / 3.621 GB, free: 4.297 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001278/8.354, allocations: 1.708 MB / 3.622 GB, free: 2.469 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001622/8.355, allocations: 111.6 kB / 3.623 GB, free: 2.359 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001049/8.355, allocations: 28 kB / 3.623 GB, free: 2.332 MB / 0.6982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 89 * 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: 1 * 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: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002892/8.356, allocations: 120.8 kB / 3.623 GB, free: 2.207 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000325/8.356, allocations: 113.9 kB / 3.623 GB, free: 2.098 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001817/8.358, allocations: 1.201 MB / 3.624 GB, free: 0.8867 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.347e-06/8.358, allocations: 11.98 kB / 3.624 GB, free: 0.875 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.333e-06/8.358, allocations: 0 / 3.624 GB, free: 0.875 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3946/8.752, allocations: 1.265 MB / 3.625 GB, free: 170.9 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00509/8.758, allocations: 2.725 MB / 3.628 GB, free: 170.5 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.116e-06/8.758, allocations: 3.938 kB / 3.628 GB, free: 170.5 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001124/8.759, allocations: 235.5 kB / 3.628 GB, free: 170.5 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002059/8.759, allocations: 71.73 kB / 3.628 GB, free: 170.5 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.368e-05/8.759, allocations: 15.5 kB / 3.628 GB, free: 170.5 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00189/8.761, allocations: 2.904 MB / 3.631 GB, free: 168.1 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.733e-06/8.761, allocations: 5.688 kB / 3.631 GB, free: 168.1 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00236/8.763, allocations: 2.112 MB / 3.633 GB, free: 167.8 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007106/8.764, allocations: 328.2 kB / 3.633 GB, free: 167.7 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001608/8.764, allocations: 11.31 kB / 3.633 GB, free: 167.7 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001007/8.765, allocations: 90.3 kB / 3.633 GB, free: 167.7 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.549e-05/8.765, allocations: 48.69 kB / 3.634 GB, free: 167.7 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.05e-05/8.765, allocations: 32.25 kB / 3.634 GB, free: 167.7 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0007189/8.766, allocations: 0.6115 MB / 3.634 GB, free: 167.6 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.002236/8.768, allocations: 0.7338 MB / 3.635 GB, free: 167.6 MB / 0.6982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (vol[1].dynBal.U,vol[1].dynBal.mXi[1],vol[2].dynBal.U,vol[2].dynBal.mXi[1],vol[3].dynBal.U,vol[3].dynBal.m,vol[3].dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 76 * 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: 1 * 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: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001804/8.77, allocations: 1.53 MB / 3.636 GB, free: 167.3 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.002757/8.773, allocations: 1.911 MB / 3.638 GB, free: 167 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/8.773, allocations: 3.812 kB / 3.638 GB, free: 167 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0007835/8.774, allocations: 0.6718 MB / 3.639 GB, free: 166.9 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003273/8.777, allocations: 0.7062 MB / 3.64 GB, free: 166.9 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005047/8.782, allocations: 2.682 MB / 3.642 GB, free: 166.4 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001232/8.783, allocations: 1.572 MB / 3.644 GB, free: 165.7 MB / 0.6982 GB Notification: Performance of SimCode: time 1.162e-06/8.783, allocations: 3.609 kB / 3.644 GB, free: 165.7 MB / 0.6982 GB Notification: Performance of Templates: time 0.0616/8.845, allocations: 37.67 MB / 3.681 GB, free: 165.2 MB / 0.6982 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe 2>&1)