Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir",fmuType="me",version="2.0",platforms={"static"}) [: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 7.0.1/package.mo): time 2.19/2.19, allocations: 248.6 MB / 255.9 MB, free: 348 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001713/0.001712, allocations: 189 kB / 315.1 MB, free: 7.754 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.284/2.284, allocations: 205.1 MB / 0.5658 GB, free: 25.48 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001314/0.001314, allocations: 103 kB / 0.67 GB, free: 2.918 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.2718/0.2732, allocations: 112.4 MB / 0.7797 GB, free: 2.445 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5196/0.7928, allocations: 106.2 MB / 0.8835 GB, free: 77.23 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.237/7.03, allocations: 2.441 GB / 3.324 GB, free: 26 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003305/7.03, allocations: 90.2 kB / 3.324 GB, free: 25.95 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 2.538/9.568, allocations: 468.8 MB / 3.782 GB, free: 219.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/9.568, allocations: 10.06 kB / 3.782 GB, free: 219.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005386/9.574, allocations: 0.5041 MB / 3.783 GB, free: 219 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005105/9.579, allocations: 1.361 MB / 3.784 GB, free: 218.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.777e-05/9.579, allocations: 32.31 kB / 3.784 GB, free: 218.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004208/9.58, allocations: 67.06 kB / 3.784 GB, free: 218.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004049/9.584, allocations: 1.188 MB / 3.785 GB, free: 218.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003283/9.587, allocations: 1.154 MB / 3.787 GB, free: 218.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.549e-05/9.587, allocations: 0 / 3.787 GB, free: 218.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001995/9.587, allocations: 0 / 3.787 GB, free: 218.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.964e-05/9.587, allocations: 43.34 kB / 3.787 GB, free: 218.6 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01073/9.598, allocations: 4.841 MB / 3.791 GB, free: 216.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002716/9.601, allocations: 0.946 MB / 3.792 GB, free: 216.5 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001273/9.602, allocations: 0.5461 MB / 3.793 GB, free: 216.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000503/9.603, allocations: 206.1 kB / 3.793 GB, free: 216.3 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.138e-05/9.603, allocations: 46.47 kB / 3.793 GB, free: 216.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=78): time 4.078e-06/9.603, allocations: 0 / 3.793 GB, free: 216.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=81): time 0.00976/9.613, allocations: 2.515 MB / 3.795 GB, free: 215.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.314e-05/9.613, allocations: 62.22 kB / 3.795 GB, free: 215.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001794/9.614, allocations: 0.7893 MB / 3.796 GB, free: 215.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003048/9.615, allocations: 29.48 kB / 3.796 GB, free: 215.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003435/9.615, allocations: 404.4 kB / 3.797 GB, free: 215.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005354/9.616, allocations: 275 kB / 3.797 GB, free: 215.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.414e-05/9.616, allocations: 0 / 3.797 GB, free: 215.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001172/9.616, allocations: 344.8 kB / 3.797 GB, free: 214.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009914/9.617, allocations: 425.8 kB / 3.798 GB, free: 214.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001118/9.618, allocations: 0.5967 MB / 3.798 GB, free: 214.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001309/9.619, allocations: 0.5415 MB / 3.799 GB, free: 214.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/9.619, allocations: 3.375 kB / 3.799 GB, free: 214.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.003196/9.623, allocations: 1.178 MB / 3.8 GB, free: 214.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003304/9.623, allocations: 1.054 MB / 3.801 GB, free: 213.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.634e-05/9.623, allocations: 0.7031 kB / 3.801 GB, free: 213.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004498/9.623, allocations: 71.25 kB / 3.801 GB, free: 213.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002251/9.626, allocations: 195.8 kB / 3.801 GB, free: 213.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003394/9.629, allocations: 2.909 MB / 3.804 GB, free: 210.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002963/9.632, allocations: 109.2 kB / 3.804 GB, free: 210.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001788/9.632, allocations: 32.75 kB / 3.804 GB, free: 210.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/9.632, allocations: 11.34 kB / 3.804 GB, free: 210.8 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003154/9.636, allocations: 1.05 MB / 3.805 GB, free: 210.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/9.636, allocations: 3 kB / 3.805 GB, free: 210.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003575/9.636, allocations: 68.97 kB / 3.805 GB, free: 210.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001649/9.638, allocations: 168.1 kB / 3.805 GB, free: 210.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002353/9.64, allocations: 1.725 MB / 3.807 GB, free: 209 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003011/9.643, allocations: 107.6 kB / 3.807 GB, free: 209 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001423/9.643, allocations: 28.56 kB / 3.807 GB, free: 209 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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.0004386/9.644, allocations: 125.2 kB / 3.807 GB, free: 208.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003263/9.644, allocations: 114.5 kB / 3.808 GB, free: 208.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003371/9.648, allocations: 1.132 MB / 3.809 GB, free: 208.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.43e-05/9.648, allocations: 8.453 kB / 3.809 GB, free: 208.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.199e-05/9.648, allocations: 1.438 kB / 3.809 GB, free: 208.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003012/9.651, allocations: 1.202 MB / 3.81 GB, free: 207.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009406/9.66, allocations: 2.623 MB / 3.812 GB, free: 206.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-05/9.66, allocations: 6.016 kB / 3.812 GB, free: 206.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002414/9.663, allocations: 227.5 kB / 3.813 GB, free: 206.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003849/9.663, allocations: 79.34 kB / 3.813 GB, free: 206.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001646/9.663, allocations: 16.77 kB / 3.813 GB, free: 206.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00287/9.666, allocations: 2.908 MB / 3.816 GB, free: 204 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-05/9.666, allocations: 5.672 kB / 3.816 GB, free: 204 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005047/9.671, allocations: 1.995 MB / 3.817 GB, free: 202.8 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006745/9.678, allocations: 3.14 MB / 3.821 GB, free: 200.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001448/9.68, allocations: 332.6 kB / 3.821 GB, free: 200.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003746/9.68, allocations: 18.52 kB / 3.821 GB, free: 200.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002434/9.682, allocations: 88.91 kB / 3.821 GB, free: 200.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001761/9.683, allocations: 44.02 kB / 3.821 GB, free: 200.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001287/9.683, allocations: 33.52 kB / 3.821 GB, free: 200.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001371/9.684, allocations: 0.6258 MB / 3.822 GB, free: 200.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.006807/9.691, allocations: 1.039 MB / 3.823 GB, free: 199 MB / 0.8698 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 (76): * Single equations (assignments): 73 * 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.002762/9.694, allocations: 1.5 MB / 3.824 GB, free: 197.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.005283/9.699, allocations: 1.829 MB / 3.826 GB, free: 196 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.237e-05/9.699, allocations: 0 / 3.826 GB, free: 196 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.00158/9.701, allocations: 0.6377 MB / 3.827 GB, free: 195.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007046/9.708, allocations: 0.7138 MB / 3.827 GB, free: 194.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007559/9.715, allocations: 2.672 MB / 3.83 GB, free: 192.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002034/9.718, allocations: 1.566 MB / 3.831 GB, free: 190.7 MB / 0.8698 GB Notification: Performance of SimCode: time 1.553e-06/9.718, allocations: 0 / 3.831 GB, free: 190.7 MB / 0.8698 GB