Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.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.MixingVolumeHeatPortAir,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.178/2.178, allocations: 387.2 MB / 394.5 MB, free: 13.65 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 189.2 kB / 487 MB, free: 5.363 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 221.3 MB / 0.7819 GB, free: 1.332 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009914/0.0009916, allocations: 104.3 kB / 0.9213 GB, free: 2.578 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6586/0.6596, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.9607, allocations: 142.3 MB / 1.205 GB, free: 26.1 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.089/6.05, allocations: 2.165 GB / 3.37 GB, free: 152.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002921/6.05, allocations: 95.94 kB / 3.371 GB, free: 152.8 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 1.618/7.668, allocations: 490.3 MB / 3.849 GB, free: 117.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/7.668, allocations: 16 kB / 3.849 GB, free: 117.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002945/7.671, allocations: 0.4976 MB / 3.85 GB, free: 117.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002298/7.673, allocations: 1.37 MB / 3.851 GB, free: 115.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.157e-05/7.673, allocations: 32 kB / 3.851 GB, free: 115.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001467/7.673, allocations: 67.84 kB / 3.851 GB, free: 115.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001663/7.675, allocations: 1.183 MB / 3.852 GB, free: 114.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001569/7.677, allocations: 1.136 MB / 3.853 GB, free: 113.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.112e-05/7.677, allocations: 7.984 kB / 3.853 GB, free: 113.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-05/7.677, allocations: 0 / 3.853 GB, free: 113.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.155e-05/7.677, allocations: 34 kB / 3.854 GB, free: 113.3 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00542/7.682, allocations: 4.982 MB / 3.858 GB, free: 107.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009392/7.683, allocations: 0.9231 MB / 3.859 GB, free: 107 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005631/7.684, allocations: 0.5714 MB / 3.86 GB, free: 106.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002867/7.684, allocations: 206.8 kB / 3.86 GB, free: 106.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/7.684, allocations: 43.22 kB / 3.86 GB, free: 106.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=78): time 1.954e-06/7.684, allocations: 0 / 3.86 GB, free: 106.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=81): time 0.004487/7.689, allocations: 2.569 MB / 3.863 GB, free: 103.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.42e-05/7.689, allocations: 60.06 kB / 3.863 GB, free: 103.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007817/7.689, allocations: 0.783 MB / 3.863 GB, free: 102.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.86e-05/7.689, allocations: 37.64 kB / 3.863 GB, free: 102.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001474/7.69, allocations: 387.9 kB / 3.864 GB, free: 102.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002216/7.69, allocations: 279.8 kB / 3.864 GB, free: 101.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.773e-05/7.69, allocations: 0 / 3.864 GB, free: 101.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.701e-05/7.69, allocations: 338 kB / 3.864 GB, free: 101.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004788/7.69, allocations: 449.2 kB / 3.865 GB, free: 101.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005343/7.691, allocations: 0.5802 MB / 3.865 GB, free: 100.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005732/7.692, allocations: 0.5554 MB / 3.866 GB, free: 99.96 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/7.692, allocations: 0 / 3.866 GB, free: 99.96 MB / 1.151 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001432/7.693, allocations: 1.209 MB / 3.867 GB, free: 98.74 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001804/7.693, allocations: 1.05 MB / 3.868 GB, free: 97.61 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/7.693, allocations: 4 kB / 3.868 GB, free: 97.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002114/7.693, allocations: 76.75 kB / 3.868 GB, free: 97.52 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009915/7.694, allocations: 183.8 kB / 3.868 GB, free: 97.34 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001755/7.696, allocations: 2.919 MB / 3.871 GB, free: 94.26 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00136/7.698, allocations: 119.6 kB / 3.871 GB, free: 94.14 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.68e-05/7.698, allocations: 36.05 kB / 3.871 GB, free: 94.11 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 7.333e-06/7.698, allocations: 4 kB / 3.871 GB, free: 94.11 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001328/7.699, allocations: 1.064 MB / 3.872 GB, free: 93.04 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/7.699, allocations: 4 kB / 3.872 GB, free: 93.04 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001614/7.699, allocations: 68.81 kB / 3.873 GB, free: 92.96 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006476/7.7, allocations: 172 kB / 3.873 GB, free: 92.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001139/7.701, allocations: 1.732 MB / 3.874 GB, free: 90.95 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001297/7.702, allocations: 111.8 kB / 3.874 GB, free: 90.84 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.453e-05/7.702, allocations: 39.98 kB / 3.875 GB, free: 90.8 MB / 1.151 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.0001912/7.703, allocations: 120.7 kB / 3.875 GB, free: 90.68 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001569/7.703, allocations: 110.7 kB / 3.875 GB, free: 90.57 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001535/7.704, allocations: 1.16 MB / 3.876 GB, free: 89.39 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/7.704, allocations: 8 kB / 3.876 GB, free: 89.39 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/7.704, allocations: 4 kB / 3.876 GB, free: 89.38 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001151/7.706, allocations: 1.228 MB / 3.877 GB, free: 88.08 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003509/7.709, allocations: 2.649 MB / 3.88 GB, free: 85.36 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-06/7.709, allocations: 4.25 kB / 3.88 GB, free: 85.36 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000985/7.71, allocations: 215.7 kB / 3.88 GB, free: 85.14 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001708/7.71, allocations: 68.81 kB / 3.88 GB, free: 85.07 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.403e-05/7.71, allocations: 15.98 kB / 3.88 GB, free: 85.06 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001533/7.712, allocations: 2.904 MB / 3.883 GB, free: 81.99 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/7.712, allocations: 4 kB / 3.883 GB, free: 81.99 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001841/7.714, allocations: 1.925 MB / 3.885 GB, free: 79.97 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002762/7.716, allocations: 3.083 MB / 3.888 GB, free: 76.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005768/7.717, allocations: 319.7 kB / 3.888 GB, free: 76.46 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001559/7.717, allocations: 15.98 kB / 3.888 GB, free: 76.45 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009584/7.718, allocations: 83.75 kB / 3.888 GB, free: 76.37 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.947e-05/7.718, allocations: 52.48 kB / 3.888 GB, free: 76.32 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.042e-05/7.718, allocations: 31.98 kB / 3.888 GB, free: 76.29 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0007036/7.719, allocations: 0.6206 MB / 3.889 GB, free: 75.65 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003934/7.723, allocations: 1.031 MB / 3.89 GB, free: 74.62 MB / 1.151 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 (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.002126/7.725, allocations: 1.52 MB / 3.891 GB, free: 73.06 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002768/7.728, allocations: 1.871 MB / 3.893 GB, free: 71.16 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/7.728, allocations: 4 kB / 3.893 GB, free: 71.16 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007095/7.729, allocations: 0.6405 MB / 3.894 GB, free: 70.51 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003055/7.732, allocations: 0.7119 MB / 3.894 GB, free: 69.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003911/7.736, allocations: 2.654 MB / 3.897 GB, free: 67.08 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001065/7.737, allocations: 1.559 MB / 3.899 GB, free: 65.49 MB / 1.151 GB Notification: Performance of SimCode: time 6.11e-07/7.737, allocations: 4 kB / 3.899 GB, free: 65.49 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe 2>&1)