Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort") translateModel(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.586/1.586, allocations: 285.5 MB / 292.8 MB, free: 10.45 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.001428/0.001428, allocations: 195.3 kB / 361.1 MB, free: 7.113 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.511/1.511, allocations: 205.1 MB / 0.6195 GB, free: 10.33 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.0009328/0.0009328, allocations: 90.89 kB / 0.7326 GB, free: 44.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.015e-05/1.018e-05, allocations: 4 kB / 0.8511 GB, free: 3.02 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7434/0.7434, allocations: 115.3 MB / 0.9637 GB, free: 78.34 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.109/5.852, allocations: 2.325 GB / 3.289 GB, free: 190 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002425/5.853, allocations: 98.06 kB / 3.289 GB, free: 189.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.385/8.238, allocations: 0.7017 GB / 3.99 GB, free: 195.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003193/8.238, allocations: 34.77 kB / 3.99 GB, free: 195.5 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.006576/8.245, allocations: 1.528 MB / 3.992 GB, free: 194.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/8.245, allocations: 12.31 kB / 3.992 GB, free: 194.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004134/8.249, allocations: 0.5052 MB / 3.992 GB, free: 194.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003954/8.253, allocations: 1.363 MB / 3.994 GB, free: 194 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.025e-05/8.253, allocations: 32.84 kB / 3.994 GB, free: 194 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004204/8.253, allocations: 65.53 kB / 3.994 GB, free: 194 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002675/8.256, allocations: 1.236 MB / 3.995 GB, free: 193.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002445/8.259, allocations: 1.182 MB / 3.996 GB, free: 193.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.518e-05/8.259, allocations: 0 / 3.996 GB, free: 193.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001444/8.259, allocations: 5.5 kB / 3.996 GB, free: 193.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.683e-05/8.259, allocations: 39.73 kB / 3.996 GB, free: 193.2 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007861/8.267, allocations: 4.925 MB / 4.001 GB, free: 190.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001462/8.268, allocations: 1.026 MB / 4.002 GB, free: 189.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007545/8.269, allocations: 0.593 MB / 4.003 GB, free: 189.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003223/8.269, allocations: 205.5 kB / 4.003 GB, free: 189.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.813e-05/8.269, allocations: 47.53 kB / 4.003 GB, free: 189.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=81): time 3.446e-06/8.269, allocations: 0 / 4.003 GB, free: 189.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=84): time 0.006356/8.276, allocations: 2.646 MB / 4.006 GB, free: 188.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.026e-05/8.276, allocations: 61.09 kB / 4.006 GB, free: 188.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001338/8.277, allocations: 0.7754 MB / 4.006 GB, free: 188.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001166/8.277, allocations: 28.83 kB / 4.006 GB, free: 188.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002744/8.278, allocations: 409.4 kB / 4.007 GB, free: 187.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003263/8.278, allocations: 282.8 kB / 4.007 GB, free: 187.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-05/8.278, allocations: 0 / 4.007 GB, free: 187.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.705e-05/8.278, allocations: 341 kB / 4.007 GB, free: 187.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006593/8.279, allocations: 457.1 kB / 4.008 GB, free: 187.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006877/8.279, allocations: 0.5993 MB / 4.008 GB, free: 186.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007079/8.28, allocations: 0.5634 MB / 4.009 GB, free: 186.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/8.28, allocations: 0 / 4.009 GB, free: 186.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001822/8.282, allocations: 1.229 MB / 4.01 GB, free: 186.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002093/8.282, allocations: 0.7878 MB / 4.011 GB, free: 185.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/8.282, allocations: 3.188 kB / 4.011 GB, free: 185.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002804/8.282, allocations: 71.94 kB / 4.011 GB, free: 185.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001115/8.284, allocations: 187.4 kB / 4.011 GB, free: 185.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002362/8.286, allocations: 2.914 MB / 4.014 GB, free: 182.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001787/8.288, allocations: 107.9 kB / 4.014 GB, free: 182.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001276/8.288, allocations: 29.09 kB / 4.014 GB, free: 182.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.936e-06/8.288, allocations: 3.125 kB / 4.014 GB, free: 182.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001601/8.29, allocations: 1.092 MB / 4.015 GB, free: 182.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/8.29, allocations: 2.875 kB / 4.015 GB, free: 182.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002016/8.29, allocations: 72.94 kB / 4.015 GB, free: 182.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000768/8.291, allocations: 166.2 kB / 4.015 GB, free: 182.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001452/8.292, allocations: 1.715 MB / 4.017 GB, free: 180.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001763/8.294, allocations: 103 kB / 4.017 GB, free: 180.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000119/8.294, allocations: 37.41 kB / 4.017 GB, free: 180.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.0003049/8.294, allocations: 124.2 kB / 4.017 GB, free: 180.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004024/8.295, allocations: 105.6 kB / 4.017 GB, free: 180.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002164/8.297, allocations: 1.205 MB / 4.019 GB, free: 179.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.696e-06/8.297, allocations: 14.84 kB / 4.019 GB, free: 179.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/8.297, allocations: 0 / 4.019 GB, free: 179.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001419/8.298, allocations: 1.268 MB / 4.02 GB, free: 179 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004685/8.303, allocations: 2.722 MB / 4.023 GB, free: 177.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/8.303, allocations: 1.312 kB / 4.023 GB, free: 177.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001157/8.304, allocations: 233.8 kB / 4.023 GB, free: 177.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002113/8.304, allocations: 70 kB / 4.023 GB, free: 177.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.388e-05/8.305, allocations: 10.78 kB / 4.023 GB, free: 177.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001845/8.306, allocations: 2.903 MB / 4.026 GB, free: 174.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/8.306, allocations: 5.375 kB / 4.026 GB, free: 174.6 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002745/8.309, allocations: 2.126 MB / 4.028 GB, free: 173.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007979/8.31, allocations: 327.6 kB / 4.028 GB, free: 172.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00028/8.31, allocations: 11.91 kB / 4.028 GB, free: 172.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001259/8.311, allocations: 89.23 kB / 4.028 GB, free: 172.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.786e-05/8.312, allocations: 47.22 kB / 4.028 GB, free: 172.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.97e-05/8.312, allocations: 27.98 kB / 4.028 GB, free: 172.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.000863/8.313, allocations: 0.6163 MB / 4.029 GB, free: 172 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002831/8.315, allocations: 0.7381 MB / 4.03 GB, free: 171.3 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.002092/8.317, allocations: 1.527 MB / 4.031 GB, free: 170.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002908/8.32, allocations: 1.907 MB / 4.033 GB, free: 168.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/8.32, allocations: 0 / 4.033 GB, free: 168.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008325/8.321, allocations: 0.6743 MB / 4.034 GB, free: 167.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003705/8.325, allocations: 0.7089 MB / 4.034 GB, free: 166.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006127/8.331, allocations: 2.685 MB / 4.037 GB, free: 164.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001989/8.333, allocations: 1.568 MB / 4.038 GB, free: 162.8 MB / 0.948 GB Notification: Performance of SimCode: time 3.597e-06/8.333, allocations: 0 / 4.038 GB, free: 162.8 MB / 0.948 GB Notification: Performance of Templates: time 0.05236/8.386, allocations: 37.65 MB / 4.075 GB, free: 125.8 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe 2>&1)