Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort") translateModel(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.532/1.532, allocations: 289.8 MB / 297.1 MB, free: 6.711 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001113/0.001113, allocations: 185.2 kB / 366.3 MB, free: 1.988 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.661/1.661, allocations: 205.1 MB / 0.6256 GB, free: 5.828 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001117/0.001117, allocations: 90.02 kB / 0.7395 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.466e-06/8.506e-06, allocations: 4 kB / 0.859 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8582/0.8582, allocations: 116.3 MB / 0.9726 GB, free: 68.68 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.335/6.193, allocations: 2.326 GB / 3.299 GB, free: 129.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002766/6.193, allocations: 99.88 kB / 3.299 GB, free: 129.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.407/8.6, allocations: 0.7017 GB / 4 GB, free: 145.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001055/8.6, allocations: 39.52 kB / 4 GB, free: 145.9 MB / 0.948 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.002939/8.603, allocations: 1.529 MB / 4.002 GB, free: 144.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/8.603, allocations: 12.03 kB / 4.002 GB, free: 144.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003131/8.607, allocations: 0.5009 MB / 4.002 GB, free: 143.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002642/8.609, allocations: 1.357 MB / 4.004 GB, free: 142.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.454e-05/8.609, allocations: 32 kB / 4.004 GB, free: 142.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001587/8.609, allocations: 75.91 kB / 4.004 GB, free: 142.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001814/8.611, allocations: 1.226 MB / 4.005 GB, free: 141.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001633/8.613, allocations: 1.179 MB / 4.006 GB, free: 139.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.296e-05/8.613, allocations: 0 / 4.006 GB, free: 139.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.911e-05/8.613, allocations: 4 kB / 4.006 GB, free: 139.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.621e-05/8.613, allocations: 38.05 kB / 4.006 GB, free: 139.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006043/8.619, allocations: 4.932 MB / 4.011 GB, free: 134.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001186/8.62, allocations: 1.021 MB / 4.012 GB, free: 133.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006292/8.621, allocations: 0.5948 MB / 4.013 GB, free: 133 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003463/8.621, allocations: 205.9 kB / 4.013 GB, free: 132.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/8.621, allocations: 47.16 kB / 4.013 GB, free: 132.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=81): time 4.048e-06/8.621, allocations: 3.75 kB / 4.013 GB, free: 132.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=84): time 0.005242/8.627, allocations: 2.648 MB / 4.015 GB, free: 130 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.431e-05/8.627, allocations: 64.02 kB / 4.015 GB, free: 129.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009324/8.628, allocations: 0.7785 MB / 4.016 GB, free: 129.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.347e-05/8.628, allocations: 29.7 kB / 4.016 GB, free: 129.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000175/8.628, allocations: 404 kB / 4.017 GB, free: 128.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002531/8.628, allocations: 283.7 kB / 4.017 GB, free: 128.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.795e-05/8.628, allocations: 0 / 4.017 GB, free: 128.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.184e-05/8.628, allocations: 345.9 kB / 4.017 GB, free: 128.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004777/8.629, allocations: 445.3 kB / 4.018 GB, free: 127.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005606/8.629, allocations: 0.6036 MB / 4.018 GB, free: 127 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006029/8.63, allocations: 0.5626 MB / 4.019 GB, free: 126.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/8.63, allocations: 4 kB / 4.019 GB, free: 126.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001564/8.632, allocations: 1.23 MB / 4.02 GB, free: 125.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001743/8.632, allocations: 0.7893 MB / 4.021 GB, free: 124.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/8.632, allocations: 0 / 4.021 GB, free: 124.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002374/8.632, allocations: 72.75 kB / 4.021 GB, free: 124.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001012/8.633, allocations: 181.5 kB / 4.021 GB, free: 124.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001867/8.635, allocations: 2.915 MB / 4.024 GB, free: 121 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001506/8.637, allocations: 107.6 kB / 4.024 GB, free: 120.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.343e-05/8.637, allocations: 36.05 kB / 4.024 GB, free: 120.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.035e-06/8.637, allocations: 4 kB / 4.024 GB, free: 120.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001336/8.638, allocations: 1.091 MB / 4.025 GB, free: 119.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/8.638, allocations: 4 kB / 4.025 GB, free: 119.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001804/8.638, allocations: 64.81 kB / 4.025 GB, free: 119.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006674/8.639, allocations: 167.7 kB / 4.025 GB, free: 119.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001219/8.64, allocations: 1.716 MB / 4.027 GB, free: 117.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001467/8.642, allocations: 103.8 kB / 4.027 GB, free: 117.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.786e-05/8.642, allocations: 28.06 kB / 4.027 GB, free: 117.6 MB / 0.948 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.000243/8.642, allocations: 133.9 kB / 4.027 GB, free: 117.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001779/8.642, allocations: 110.7 kB / 4.027 GB, free: 117.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001675/8.644, allocations: 1.198 MB / 4.028 GB, free: 116.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/8.644, allocations: 8 kB / 4.028 GB, free: 116.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/8.644, allocations: 3.906 kB / 4.028 GB, free: 116.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001206/8.645, allocations: 1.266 MB / 4.03 GB, free: 114.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003948/8.649, allocations: 2.729 MB / 4.032 GB, free: 112 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/8.649, allocations: 0 / 4.032 GB, free: 112 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001111/8.65, allocations: 233.8 kB / 4.033 GB, free: 111.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001949/8.65, allocations: 73 kB / 4.033 GB, free: 111.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-05/8.65, allocations: 19.98 kB / 4.033 GB, free: 111.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001836/8.652, allocations: 2.9 MB / 4.036 GB, free: 108.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.573e-06/8.652, allocations: 7.969 kB / 4.036 GB, free: 108.6 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00228/8.655, allocations: 2.121 MB / 4.038 GB, free: 106.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000865/8.655, allocations: 327.7 kB / 4.038 GB, free: 106 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003225/8.656, allocations: 12.73 kB / 4.038 GB, free: 106 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001293/8.657, allocations: 87.75 kB / 4.038 GB, free: 105.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/8.657, allocations: 48.5 kB / 4.038 GB, free: 105.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.325e-05/8.657, allocations: 31.98 kB / 4.038 GB, free: 105.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0008771/8.658, allocations: 0.6124 MB / 4.039 GB, free: 105.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002661/8.661, allocations: 0.7304 MB / 4.039 GB, free: 104.5 MB / 0.948 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.00199/8.663, allocations: 1.528 MB / 4.041 GB, free: 103.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002746/8.666, allocations: 1.924 MB / 4.043 GB, free: 101.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/8.666, allocations: 0 / 4.043 GB, free: 101.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007489/8.666, allocations: 0.6639 MB / 4.043 GB, free: 100.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003314/8.67, allocations: 0.704 MB / 4.044 GB, free: 99.79 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004058/8.674, allocations: 2.684 MB / 4.047 GB, free: 97.05 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001071/8.675, allocations: 1.566 MB / 4.048 GB, free: 95.45 MB / 0.948 GB Notification: Performance of SimCode: time 6.91e-07/8.675, allocations: 0 / 4.048 GB, free: 95.45 MB / 0.948 GB Notification: Performance of Templates: time 0.05078/8.726, allocations: 37.66 MB / 4.085 GB, free: 58.09 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.makefile (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.sim & ./Buildings_8_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe 2>&1)