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: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.385/1.385, allocations: 285.5 MB / 292.8 MB, free: 10.46 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.001008/0.001008, allocations: 187.5 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.177/1.177, allocations: 205.1 MB / 0.6195 GB, free: 11.98 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.0007917/0.0007917, allocations: 93.22 kB / 0.7326 GB, free: 44.52 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2207/0.2215, allocations: 121.4 MB / 0.8511 GB, free: 3.168 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5274/0.7489, allocations: 115.3 MB / 0.9638 GB, free: 77.75 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.39/4.139, allocations: 2.325 GB / 3.289 GB, free: 104.7 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002956/4.139, allocations: 94.27 kB / 3.289 GB, free: 104.6 MB / 0.9323 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 1.992/6.131, allocations: 0.7032 GB / 3.992 GB, free: 101.6 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/6.131, allocations: 8.5 kB / 3.992 GB, free: 101.5 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00287/6.134, allocations: 0.5015 MB / 3.993 GB, free: 101 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002087/6.136, allocations: 1.371 MB / 3.994 GB, free: 99.62 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.573e-05/6.136, allocations: 39.91 kB / 3.994 GB, free: 99.59 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001411/6.136, allocations: 68 kB / 3.994 GB, free: 99.52 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001527/6.138, allocations: 1.226 MB / 3.995 GB, free: 98.29 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001516/6.139, allocations: 1.183 MB / 3.996 GB, free: 97.08 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.657e-05/6.139, allocations: 0 / 3.996 GB, free: 97.08 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.494e-05/6.139, allocations: 4.75 kB / 3.996 GB, free: 97.07 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.496e-05/6.139, allocations: 38.06 kB / 3.996 GB, free: 97.04 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004751/6.144, allocations: 4.921 MB / 4.001 GB, free: 91.76 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001092/6.145, allocations: 1.032 MB / 4.002 GB, free: 90.71 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005955/6.146, allocations: 0.5955 MB / 4.003 GB, free: 90.11 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002607/6.146, allocations: 202.8 kB / 4.003 GB, free: 89.88 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.954e-05/6.146, allocations: 51.12 kB / 4.003 GB, free: 89.82 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=81): time 2.084e-06/6.146, allocations: 0 / 4.003 GB, free: 89.82 MB / 0.9323 GB Notification: Performance of matching and sorting (n=84): time 0.004149/6.15, allocations: 2.644 MB / 4.006 GB, free: 87.12 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.144e-05/6.15, allocations: 64.17 kB / 4.006 GB, free: 87.04 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006974/6.151, allocations: 0.7746 MB / 4.006 GB, free: 86.25 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 6.079e-05/6.151, allocations: 29.7 kB / 4.006 GB, free: 86.21 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001347/6.151, allocations: 403.9 kB / 4.007 GB, free: 85.81 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002106/6.152, allocations: 295.7 kB / 4.007 GB, free: 85.52 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.991e-05/6.152, allocations: 0 / 4.007 GB, free: 85.52 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 5.821e-05/6.152, allocations: 337.9 kB / 4.007 GB, free: 85.18 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004522/6.152, allocations: 453.3 kB / 4.008 GB, free: 84.73 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005155/6.153, allocations: 0.5998 MB / 4.008 GB, free: 84.08 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005533/6.153, allocations: 0.5626 MB / 4.009 GB, free: 83.52 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/6.153, allocations: 0 / 4.009 GB, free: 83.52 MB / 0.9323 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001384/6.155, allocations: 1.22 MB / 4.01 GB, free: 82.29 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001154/6.155, allocations: 0.7891 MB / 4.011 GB, free: 81.44 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/6.155, allocations: 5.031 kB / 4.011 GB, free: 81.43 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001895/6.155, allocations: 72.81 kB / 4.011 GB, free: 81.36 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009305/6.156, allocations: 193.5 kB / 4.011 GB, free: 81.17 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001602/6.158, allocations: 2.904 MB / 4.014 GB, free: 78.11 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00112/6.159, allocations: 107.7 kB / 4.014 GB, free: 78 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.114e-05/6.159, allocations: 32.06 kB / 4.014 GB, free: 77.97 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 4.598e-06/6.159, allocations: 4 kB / 4.014 GB, free: 77.97 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001202/6.16, allocations: 1.087 MB / 4.015 GB, free: 76.88 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/6.16, allocations: 0 / 4.015 GB, free: 76.88 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001471/6.16, allocations: 73.06 kB / 4.015 GB, free: 76.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006282/6.161, allocations: 163.8 kB / 4.015 GB, free: 76.64 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001102/6.162, allocations: 1.724 MB / 4.017 GB, free: 74.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001051/6.163, allocations: 104.6 kB / 4.017 GB, free: 74.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.884e-05/6.163, allocations: 32.05 kB / 4.017 GB, free: 74.67 MB / 0.9323 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.0001475/6.163, allocations: 127.4 kB / 4.017 GB, free: 74.54 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001392/6.163, allocations: 110.7 kB / 4.018 GB, free: 74.43 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001408/6.165, allocations: 1.199 MB / 4.019 GB, free: 73.22 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/6.165, allocations: 15.91 kB / 4.019 GB, free: 73.2 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/6.165, allocations: 3.984 kB / 4.019 GB, free: 73.2 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001134/6.166, allocations: 1.258 MB / 4.02 GB, free: 71.87 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003112/6.169, allocations: 2.723 MB / 4.023 GB, free: 69.07 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.666e-06/6.169, allocations: 8.25 kB / 4.023 GB, free: 69.06 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001021/6.17, allocations: 235.4 kB / 4.023 GB, free: 68.84 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001536/6.17, allocations: 72.72 kB / 4.023 GB, free: 68.76 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.154e-05/6.17, allocations: 12 kB / 4.023 GB, free: 68.75 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001356/6.172, allocations: 2.908 MB / 4.026 GB, free: 65.68 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/6.172, allocations: 0 / 4.026 GB, free: 65.68 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001845/6.174, allocations: 2.113 MB / 4.028 GB, free: 63.48 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002676/6.176, allocations: 3.323 MB / 4.031 GB, free: 60.05 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004771/6.177, allocations: 323.8 kB / 4.031 GB, free: 59.72 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001602/6.177, allocations: 11.89 kB / 4.031 GB, free: 59.71 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009403/6.178, allocations: 83.75 kB / 4.031 GB, free: 59.62 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.96e-05/6.178, allocations: 48.59 kB / 4.031 GB, free: 59.58 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.876e-05/6.178, allocations: 35.98 kB / 4.032 GB, free: 59.54 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.0005604/6.179, allocations: 0.6124 MB / 4.032 GB, free: 58.92 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003287/6.182, allocations: 1.047 MB / 4.033 GB, free: 57.87 MB / 0.9323 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.001427/6.183, allocations: 1.52 MB / 4.035 GB, free: 56.31 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002247/6.185, allocations: 1.92 MB / 4.037 GB, free: 54.37 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/6.186, allocations: 0 / 4.037 GB, free: 54.37 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0007055/6.186, allocations: 0.6639 MB / 4.037 GB, free: 53.7 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002798/6.189, allocations: 0.7065 MB / 4.038 GB, free: 53 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003366/6.192, allocations: 2.701 MB / 4.04 GB, free: 50.23 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001007/6.193, allocations: 1.586 MB / 4.042 GB, free: 48.62 MB / 0.9323 GB Notification: Performance of SimCode: time 5.21e-07/6.193, allocations: 0 / 4.042 GB, free: 48.62 MB / 0.9323 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatMoisturePort_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatMoisturePort.fmu > Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe 2>&1)