Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatMoisturePort",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.266/1.266, allocations: 249.4 MB / 256.7 MB, free: 7.004 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001148/0.001148, allocations: 189.2 kB / 316 MB, free: 3.508 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.174/1.174, allocations: 205.1 MB / 0.5667 GB, free: 15.66 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.001034/0.001034, allocations: 101.6 kB / 0.671 GB, free: 4.781 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.342/0.3431, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1705/0.5136, allocations: 106.3 MB / 0.8846 GB, free: 12.52 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.882/4.396, allocations: 2.443 GB / 3.328 GB, free: 314.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002479/4.396, allocations: 92.25 kB / 3.328 GB, free: 314.6 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: 268 * Number of variables: 268 Notification: Performance of Generate backend data structure: time 1.847/6.243, allocations: 0.6889 GB / 4.016 GB, free: 197.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/6.243, allocations: 10.75 kB / 4.017 GB, free: 197.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00313/6.246, allocations: 0.5104 MB / 4.017 GB, free: 197.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002528/6.249, allocations: 1.381 MB / 4.018 GB, free: 197.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.317e-05/6.249, allocations: 33.25 kB / 4.018 GB, free: 197.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001507/6.249, allocations: 67.81 kB / 4.018 GB, free: 197.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001653/6.251, allocations: 1.247 MB / 4.02 GB, free: 197.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001611/6.252, allocations: 1.209 MB / 4.021 GB, free: 197.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.974e-05/6.252, allocations: 7.297 kB / 4.021 GB, free: 197.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.659e-05/6.252, allocations: 0 / 4.021 GB, free: 197.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.151e-05/6.252, allocations: 40.64 kB / 4.021 GB, free: 197.2 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005575/6.258, allocations: 4.963 MB / 4.026 GB, free: 195.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009862/6.259, allocations: 0.9935 MB / 4.027 GB, free: 195.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005667/6.26, allocations: 0.5911 MB / 4.027 GB, free: 195.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002744/6.26, allocations: 201.5 kB / 4.027 GB, free: 194.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/6.26, allocations: 45.5 kB / 4.028 GB, free: 194.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=81): time 2.755e-06/6.26, allocations: 2.594 kB / 4.028 GB, free: 194.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=84): time 0.004613/6.265, allocations: 2.628 MB / 4.03 GB, free: 194.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.202e-05/6.265, allocations: 59.47 kB / 4.03 GB, free: 194.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007918/6.265, allocations: 0.8035 MB / 4.031 GB, free: 194.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 6.504e-05/6.265, allocations: 25.7 kB / 4.031 GB, free: 194.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001589/6.266, allocations: 415 kB / 4.031 GB, free: 193.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002329/6.266, allocations: 286.2 kB / 4.032 GB, free: 193.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.831e-05/6.266, allocations: 0 / 4.032 GB, free: 193.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.093e-05/6.266, allocations: 344.5 kB / 4.032 GB, free: 193.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004575/6.266, allocations: 441 kB / 4.032 GB, free: 193.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005708/6.267, allocations: 0.5995 MB / 4.033 GB, free: 193.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000571/6.268, allocations: 0.5559 MB / 4.034 GB, free: 193.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/6.268, allocations: 3.875 kB / 4.034 GB, free: 193.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001436/6.269, allocations: 1.211 MB / 4.035 GB, free: 193.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001481/6.269, allocations: 0.7879 MB / 4.035 GB, free: 192.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/6.269, allocations: 7.5 kB / 4.035 GB, free: 192.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002113/6.269, allocations: 72.73 kB / 4.036 GB, free: 192.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009688/6.27, allocations: 184.8 kB / 4.036 GB, free: 192.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001815/6.272, allocations: 2.911 MB / 4.039 GB, free: 190 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001315/6.274, allocations: 106.1 kB / 4.039 GB, free: 189.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.433e-05/6.274, allocations: 32.53 kB / 4.039 GB, free: 189.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 6.933e-06/6.274, allocations: 7.719 kB / 4.039 GB, free: 189.9 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001277/6.275, allocations: 1.07 MB / 4.04 GB, free: 189.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/6.275, allocations: 6.312 kB / 4.04 GB, free: 189.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001567/6.275, allocations: 70.53 kB / 4.04 GB, free: 189.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000636/6.276, allocations: 172.4 kB / 4.04 GB, free: 189.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001096/6.277, allocations: 1.715 MB / 4.042 GB, free: 188.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001212/6.278, allocations: 107.5 kB / 4.042 GB, free: 188.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.247e-05/6.278, allocations: 28.94 kB / 4.042 GB, free: 188.6 MB / 0.8698 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.0002033/6.278, allocations: 122.8 kB / 4.042 GB, free: 188.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001603/6.279, allocations: 110.3 kB / 4.042 GB, free: 188.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00153/6.28, allocations: 1.189 MB / 4.043 GB, free: 188.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/6.28, allocations: 9.594 kB / 4.043 GB, free: 188.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/6.28, allocations: 3.281 kB / 4.043 GB, free: 188.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001131/6.281, allocations: 1.249 MB / 4.044 GB, free: 188 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003486/6.285, allocations: 2.729 MB / 4.047 GB, free: 187.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/6.285, allocations: 0 / 4.047 GB, free: 187.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001021/6.286, allocations: 242.6 kB / 4.047 GB, free: 187.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001697/6.286, allocations: 70.38 kB / 4.047 GB, free: 187.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.434e-05/6.286, allocations: 18.09 kB / 4.047 GB, free: 187.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001505/6.288, allocations: 2.905 MB / 4.05 GB, free: 185.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/6.288, allocations: 3.312 kB / 4.05 GB, free: 185.2 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002013/6.29, allocations: 2.092 MB / 4.052 GB, free: 184.8 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002869/6.292, allocations: 3.275 MB / 4.055 GB, free: 184 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006801/6.293, allocations: 342.9 kB / 4.056 GB, free: 183.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001617/6.293, allocations: 7.781 kB / 4.056 GB, free: 183.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00101/6.294, allocations: 94.3 kB / 4.056 GB, free: 183.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.127e-05/6.294, allocations: 52.91 kB / 4.056 GB, free: 183.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.494e-05/6.295, allocations: 34.86 kB / 4.056 GB, free: 183.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0006777/6.295, allocations: 0.6307 MB / 4.057 GB, free: 183.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003499/6.299, allocations: 1.049 MB / 4.058 GB, free: 183.7 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 (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.001685/6.3, allocations: 1.517 MB / 4.059 GB, free: 183.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0024/6.303, allocations: 1.887 MB / 4.061 GB, free: 183.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/6.303, allocations: 5.688 kB / 4.061 GB, free: 183.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006972/6.304, allocations: 0.6679 MB / 4.062 GB, free: 183 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002889/6.306, allocations: 0.7166 MB / 4.062 GB, free: 183 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003576/6.31, allocations: 2.72 MB / 4.065 GB, free: 182.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001025/6.311, allocations: 1.607 MB / 4.067 GB, free: 181.8 MB / 0.8698 GB Notification: Performance of SimCode: time 6.82e-07/6.311, allocations: 0 / 4.067 GB, free: 181.8 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatMoisturePort_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatMoisturePort.fmu > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe 2>&1)