Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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) 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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatMoisturePort",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatMoisturePort",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 9.1.1-maint.9.1.x/package.mo): time 2.173/2.173, allocations: 387.2 MB / 394.5 MB, free: 4.531 MB / 306.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 189.2 kB / 487 MB, free: 11.07 MB / 402.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.575/1.575, allocations: 221.3 MB / 0.7819 GB, free: 3.992 MB / 0.5497 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 92.69 kB / 0.9213 GB, free: 5.098 MB / 0.6903 GB Notification: Performance of FrontEnd - loaded program: time 0.6335/0.6347, allocations: 148.5 MB / 1.066 GB, free: 141 MB / 0.7216 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2908/0.9256, allocations: 142.3 MB / 1.205 GB, free: 14.7 MB / 0.7372 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.151/6.077, allocations: 2.166 GB / 3.371 GB, free: 26.05 MB / 1.143 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003407/6.077, allocations: 95.94 kB / 3.371 GB, free: 25.95 MB / 1.143 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 2.813/8.89, allocations: 0.7221 GB / 4.093 GB, free: 167.7 MB / 1.159 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/8.89, allocations: 12 kB / 4.093 GB, free: 167.7 MB / 1.159 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003814/8.894, allocations: 0.505 MB / 4.094 GB, free: 167.2 MB / 1.159 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003474/8.898, allocations: 1.403 MB / 4.095 GB, free: 165.7 MB / 1.159 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.021e-05/8.898, allocations: 36 kB / 4.095 GB, free: 165.7 MB / 1.159 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003586/8.898, allocations: 67.91 kB / 4.095 GB, free: 165.6 MB / 1.159 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002357/8.901, allocations: 1.238 MB / 4.097 GB, free: 164.4 MB / 1.159 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002354/8.903, allocations: 1.191 MB / 4.098 GB, free: 163.2 MB / 1.159 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.693e-05/8.903, allocations: 3.938 kB / 4.098 GB, free: 163.2 MB / 1.159 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001344/8.903, allocations: 0 / 4.098 GB, free: 163.2 MB / 1.159 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.006e-05/8.903, allocations: 42.05 kB / 4.098 GB, free: 163.1 MB / 1.159 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008628/8.912, allocations: 5.116 MB / 4.103 GB, free: 157.7 MB / 1.159 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008018/8.913, allocations: 0.6009 MB / 4.103 GB, free: 157.1 MB / 1.159 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006887/8.913, allocations: 0.6026 MB / 4.104 GB, free: 156.5 MB / 1.159 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003543/8.914, allocations: 202.8 kB / 4.104 GB, free: 156.3 MB / 1.159 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.586e-05/8.914, allocations: 43.22 kB / 4.104 GB, free: 156.2 MB / 1.159 GB Notification: Performance of pre-optimization done (n=81): time 4.839e-06/8.914, allocations: 0 / 4.104 GB, free: 156.2 MB / 1.159 GB Notification: Performance of matching and sorting (n=84): time 0.006195/8.92, allocations: 2.677 MB / 4.107 GB, free: 153.5 MB / 1.159 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.932e-05/8.92, allocations: 60.19 kB / 4.107 GB, free: 153.4 MB / 1.159 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001192/8.921, allocations: 0.7912 MB / 4.108 GB, free: 152.6 MB / 1.159 GB Notification: Performance of collectPreVariables (initialization): time 0.0001139/8.921, allocations: 29.7 kB / 4.108 GB, free: 152.6 MB / 1.159 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001994/8.922, allocations: 403.9 kB / 4.108 GB, free: 152.2 MB / 1.159 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002928/8.922, allocations: 287.7 kB / 4.108 GB, free: 151.9 MB / 1.159 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.174e-05/8.922, allocations: 0 / 4.108 GB, free: 151.9 MB / 1.159 GB Notification: Performance of setup shared object (initialization): time 7.405e-05/8.922, allocations: 341.9 kB / 4.109 GB, free: 151.5 MB / 1.159 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000521/8.923, allocations: 453.3 kB / 4.109 GB, free: 151.1 MB / 1.159 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005996/8.923, allocations: 0.6114 MB / 4.11 GB, free: 150.4 MB / 1.159 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00064/8.924, allocations: 0.5626 MB / 4.11 GB, free: 149.9 MB / 1.159 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/8.924, allocations: 0 / 4.11 GB, free: 149.9 MB / 1.159 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001618/8.926, allocations: 1.24 MB / 4.111 GB, free: 148.6 MB / 1.159 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001748/8.926, allocations: 0.7894 MB / 4.112 GB, free: 147.8 MB / 1.159 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/8.926, allocations: 11.94 kB / 4.112 GB, free: 147.8 MB / 1.159 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002361/8.926, allocations: 64.81 kB / 4.112 GB, free: 147.7 MB / 1.159 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001058/8.927, allocations: 187.8 kB / 4.112 GB, free: 147.5 MB / 1.159 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001891/8.929, allocations: 2.915 MB / 4.115 GB, free: 144.4 MB / 1.159 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001504/8.93, allocations: 119.6 kB / 4.115 GB, free: 144.3 MB / 1.159 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.847e-05/8.931, allocations: 32 kB / 4.115 GB, free: 144.3 MB / 1.159 GB Notification: Performance of prepare postOptimizeDAE: time 9.568e-06/8.931, allocations: 4 kB / 4.115 GB, free: 144.3 MB / 1.159 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001332/8.932, allocations: 1.099 MB / 4.117 GB, free: 143.2 MB / 1.159 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/8.932, allocations: 4 kB / 4.117 GB, free: 143.2 MB / 1.159 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001722/8.932, allocations: 68.81 kB / 4.117 GB, free: 143.1 MB / 1.159 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006837/8.933, allocations: 171.7 kB / 4.117 GB, free: 142.9 MB / 1.159 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001276/8.934, allocations: 1.709 MB / 4.118 GB, free: 141.1 MB / 1.159 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001529/8.936, allocations: 115.7 kB / 4.119 GB, free: 141 MB / 1.159 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.539e-05/8.936, allocations: 39.97 kB / 4.119 GB, free: 140.9 MB / 1.159 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.0002315/8.936, allocations: 124.7 kB / 4.119 GB, free: 140.8 MB / 1.159 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002784/8.936, allocations: 110.7 kB / 4.119 GB, free: 140.7 MB / 1.159 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001803/8.938, allocations: 1.217 MB / 4.12 GB, free: 139.5 MB / 1.159 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/8.938, allocations: 11.94 kB / 4.12 GB, free: 139.5 MB / 1.159 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/8.938, allocations: 0 / 4.12 GB, free: 139.5 MB / 1.159 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001231/8.939, allocations: 1.273 MB / 4.121 GB, free: 138.1 MB / 1.159 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004198/8.944, allocations: 2.73 MB / 4.124 GB, free: 135.3 MB / 1.159 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/8.944, allocations: 4 kB / 4.124 GB, free: 135.3 MB / 1.159 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001098/8.945, allocations: 231.8 kB / 4.124 GB, free: 135.1 MB / 1.159 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001967/8.945, allocations: 72.75 kB / 4.124 GB, free: 135 MB / 1.159 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.768e-05/8.945, allocations: 15.98 kB / 4.124 GB, free: 135 MB / 1.159 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00163/8.947, allocations: 2.902 MB / 4.127 GB, free: 132 MB / 1.159 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/8.947, allocations: 4 kB / 4.127 GB, free: 132 MB / 1.159 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002117/8.949, allocations: 2.002 MB / 4.129 GB, free: 129.9 MB / 1.159 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00297/8.952, allocations: 3.19 MB / 4.132 GB, free: 126.6 MB / 1.159 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008019/8.953, allocations: 331.7 kB / 4.132 GB, free: 126.2 MB / 1.159 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002997/8.953, allocations: 12 kB / 4.132 GB, free: 126.2 MB / 1.159 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00125/8.954, allocations: 91.64 kB / 4.133 GB, free: 126.1 MB / 1.159 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.83e-05/8.954, allocations: 44.59 kB / 4.133 GB, free: 126.1 MB / 1.159 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-05/8.954, allocations: 31.98 kB / 4.133 GB, free: 126.1 MB / 1.159 GB Notification: Performance of sort global known variables: time 0.0007963/8.955, allocations: 0.6286 MB / 4.133 GB, free: 125.4 MB / 1.159 GB Notification: Performance of remove unused functions: time 0.004542/8.96, allocations: 1.047 MB / 4.134 GB, free: 124.4 MB / 1.159 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (vol[1].dynBal.medium.Xi[1],vol[1].dynBal.U,vol[2].dynBal.medium.Xi[1],vol[2].dynBal.U,vol[3].dynBal.medium.Xi[1],vol[3].dynBal.U,vol[3].dynBal.m) * 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.002682/8.962, allocations: 1.524 MB / 4.136 GB, free: 123 MB / 1.159 GB Notification: Performance of simCode: created initialization part: time 0.003155/8.966, allocations: 1.918 MB / 4.138 GB, free: 121 MB / 1.159 GB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/8.966, allocations: 4 kB / 4.138 GB, free: 121 MB / 1.159 GB Notification: Performance of simCode: created simulation system equations: time 0.0008465/8.966, allocations: 0.6716 MB / 4.138 GB, free: 120.3 MB / 1.159 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003898/8.97, allocations: 0.7131 MB / 4.139 GB, free: 119.6 MB / 1.159 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005261/8.976, allocations: 2.738 MB / 4.142 GB, free: 116.8 MB / 1.159 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001545/8.977, allocations: 1.594 MB / 4.143 GB, free: 115.2 MB / 1.159 GB Notification: Performance of SimCode: time 9.31e-07/8.977, allocations: 0 / 4.143 GB, free: 115.2 MB / 1.159 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatMoisturePort_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatMoisturePort.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe 2>&1)