Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatMoisturePort",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.431/2.431, allocations: 284.8 MB / 292.1 MB, free: 10.72 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.00169/0.001689, allocations: 193.2 kB / 360.3 MB, free: 7.488 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.867/1.867, allocations: 205.1 MB / 0.6187 GB, free: 12.45 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.001242/0.001242, allocations: 92.16 kB / 0.7317 GB, free: 44.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3117/0.313, allocations: 121.4 MB / 0.8502 GB, free: 3.785 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7499/1.063, allocations: 115.2 MB / 0.9627 GB, free: 78.43 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.937/7, allocations: 2.325 GB / 3.288 GB, free: 64.74 MB / 0.9324 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002996/7, allocations: 91.94 kB / 3.288 GB, free: 64.7 MB / 0.9324 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 3.523/10.52, allocations: 0.7032 GB / 3.991 GB, free: 71.39 MB / 0.9324 GB Notification: Performance of prepare preOptimizeDAE: time 7.704e-05/10.52, allocations: 12.5 kB / 3.991 GB, free: 71.38 MB / 0.9324 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008958/10.53, allocations: 0.5092 MB / 3.991 GB, free: 70.87 MB / 0.9324 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004924/10.54, allocations: 1.358 MB / 3.993 GB, free: 69.46 MB / 0.9324 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.9e-05/10.54, allocations: 36 kB / 3.993 GB, free: 69.43 MB / 0.9324 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003437/10.54, allocations: 64 kB / 3.993 GB, free: 69.37 MB / 0.9324 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003874/10.54, allocations: 1.222 MB / 3.994 GB, free: 68.14 MB / 0.9324 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003497/10.55, allocations: 1.187 MB / 3.995 GB, free: 66.93 MB / 0.9324 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.977e-05/10.55, allocations: 3.938 kB / 3.995 GB, free: 66.92 MB / 0.9324 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001706/10.55, allocations: 4 kB / 3.995 GB, free: 66.92 MB / 0.9324 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.836e-05/10.55, allocations: 41.97 kB / 3.995 GB, free: 66.88 MB / 0.9324 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0111/10.56, allocations: 4.915 MB / 4 GB, free: 61.61 MB / 0.9324 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002548/10.56, allocations: 1.033 MB / 4.001 GB, free: 60.57 MB / 0.9324 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00125/10.56, allocations: 0.5875 MB / 4.002 GB, free: 59.98 MB / 0.9324 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004612/10.56, allocations: 210.8 kB / 4.002 GB, free: 59.74 MB / 0.9324 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.76e-05/10.56, allocations: 43.22 kB / 4.002 GB, free: 59.68 MB / 0.9324 GB Notification: Performance of pre-optimization done (n=81): time 5.049e-06/10.56, allocations: 4 kB / 4.002 GB, free: 59.68 MB / 0.9324 GB Notification: Performance of matching and sorting (n=84): time 0.01126/10.57, allocations: 2.654 MB / 4.004 GB, free: 56.97 MB / 0.9324 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.62e-05/10.57, allocations: 60.19 kB / 4.004 GB, free: 56.9 MB / 0.9324 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001644/10.57, allocations: 0.7747 MB / 4.005 GB, free: 56.1 MB / 0.9324 GB Notification: Performance of collectPreVariables (initialization): time 0.0002967/10.57, allocations: 27.39 kB / 4.005 GB, free: 56.07 MB / 0.9324 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002533/10.57, allocations: 404 kB / 4.006 GB, free: 55.67 MB / 0.9324 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004592/10.58, allocations: 295.6 kB / 4.006 GB, free: 55.38 MB / 0.9324 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/10.58, allocations: 0 / 4.006 GB, free: 55.38 MB / 0.9324 GB Notification: Performance of setup shared object (initialization): time 0.0001115/10.58, allocations: 338 kB / 4.006 GB, free: 55.04 MB / 0.9324 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001028/10.58, allocations: 457.3 kB / 4.007 GB, free: 54.59 MB / 0.9324 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001368/10.58, allocations: 0.5958 MB / 4.007 GB, free: 53.94 MB / 0.9324 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001378/10.58, allocations: 0.5674 MB / 4.008 GB, free: 53.38 MB / 0.9324 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/10.58, allocations: 0 / 4.008 GB, free: 53.38 MB / 0.9324 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.003212/10.58, allocations: 1.228 MB / 4.009 GB, free: 52.14 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 0.000185/10.58, allocations: 0.797 MB / 4.01 GB, free: 51.28 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/10.58, allocations: 0 / 4.01 GB, free: 51.28 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004073/10.58, allocations: 68.81 kB / 4.01 GB, free: 51.21 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002381/10.59, allocations: 194.7 kB / 4.01 GB, free: 51.02 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002951/10.59, allocations: 2.908 MB / 4.013 GB, free: 47.95 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002754/10.59, allocations: 99.78 kB / 4.013 GB, free: 47.85 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001322/10.59, allocations: 31.97 kB / 4.013 GB, free: 47.82 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/10.59, allocations: 6.812 kB / 4.013 GB, free: 47.82 MB / 0.9324 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002598/10.59, allocations: 1.08 MB / 4.014 GB, free: 46.73 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/10.59, allocations: 8.031 kB / 4.014 GB, free: 46.73 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003138/10.59, allocations: 72.75 kB / 4.014 GB, free: 46.65 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001504/10.6, allocations: 171.8 kB / 4.014 GB, free: 46.48 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002047/10.6, allocations: 1.72 MB / 4.016 GB, free: 44.65 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002723/10.6, allocations: 103.7 kB / 4.016 GB, free: 44.55 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001604/10.6, allocations: 28.05 kB / 4.016 GB, free: 44.52 MB / 0.9324 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.0003567/10.6, allocations: 124.8 kB / 4.016 GB, free: 44.39 MB / 0.9324 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003592/10.6, allocations: 106.7 kB / 4.016 GB, free: 44.29 MB / 0.9324 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003241/10.61, allocations: 1.211 MB / 4.018 GB, free: 43.05 MB / 0.9324 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.755e-05/10.61, allocations: 8 kB / 4.018 GB, free: 43.05 MB / 0.9324 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.278e-06/10.61, allocations: 0 / 4.018 GB, free: 43.05 MB / 0.9324 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002676/10.61, allocations: 1.269 MB / 4.019 GB, free: 41.71 MB / 0.9324 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007146/10.62, allocations: 2.727 MB / 4.021 GB, free: 38.91 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.878e-06/10.62, allocations: 0 / 4.021 GB, free: 38.91 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002274/10.62, allocations: 233.8 kB / 4.022 GB, free: 38.68 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003426/10.62, allocations: 72.81 kB / 4.022 GB, free: 38.61 MB / 0.9324 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001328/10.62, allocations: 8 kB / 4.022 GB, free: 38.6 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002592/10.62, allocations: 2.904 MB / 4.025 GB, free: 35.54 MB / 0.9324 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.929e-06/10.62, allocations: 7.938 kB / 4.025 GB, free: 35.53 MB / 0.9324 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004259/10.62, allocations: 2.117 MB / 4.027 GB, free: 33.32 MB / 0.9324 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005759/10.63, allocations: 3.304 MB / 4.03 GB, free: 29.91 MB / 0.9324 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001183/10.63, allocations: 327.7 kB / 4.03 GB, free: 29.57 MB / 0.9324 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002897/10.63, allocations: 15.98 kB / 4.03 GB, free: 29.56 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001991/10.63, allocations: 87.75 kB / 4.03 GB, free: 29.47 MB / 0.9324 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001406/10.63, allocations: 49 kB / 4.03 GB, free: 29.43 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001019/10.63, allocations: 31.98 kB / 4.03 GB, free: 29.39 MB / 0.9324 GB Notification: Performance of sort global known variables: time 0.001304/10.64, allocations: 0.6163 MB / 4.031 GB, free: 28.77 MB / 0.9324 GB Notification: Performance of remove unused functions: time 0.007345/10.64, allocations: 1.035 MB / 4.032 GB, free: 27.73 MB / 0.9324 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.002693/10.65, allocations: 1.521 MB / 4.033 GB, free: 26.18 MB / 0.9324 GB Notification: Performance of simCode: created initialization part: time 0.005379/10.65, allocations: 1.919 MB / 4.035 GB, free: 24.23 MB / 0.9324 GB Notification: Performance of simCode: created event and clocks part: time 1.116e-05/10.65, allocations: 0 / 4.035 GB, free: 24.23 MB / 0.9324 GB Notification: Performance of simCode: created simulation system equations: time 0.001594/10.65, allocations: 0.6653 MB / 4.036 GB, free: 23.56 MB / 0.9324 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007945/10.66, allocations: 0.7134 MB / 4.037 GB, free: 22.86 MB / 0.9324 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01044/10.67, allocations: 2.703 MB / 4.039 GB, free: 20.09 MB / 0.9324 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003085/10.67, allocations: 1.581 MB / 4.041 GB, free: 18.48 MB / 0.9324 GB Notification: Performance of SimCode: time 2.344e-06/10.67, allocations: 1.688 kB / 4.041 GB, free: 18.48 MB / 0.9324 GB (rm -f Buildings_8.0.0_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatMoisturePort_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatMoisturePort.fmu > Buildings_8.0.0_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe 2>&1)