Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.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.MixingVolumeHeatPortWater,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater",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.204/2.204, allocations: 387.2 MB / 394.5 MB, free: 13.64 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.001211/0.001211, allocations: 177.3 kB / 487 MB, free: 5.379 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.597/1.597, allocations: 221.3 MB / 0.7819 GB, free: 1.422 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.0009429/0.000943, allocations: 95.06 kB / 0.9213 GB, free: 2.672 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.7042/0.7051, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2813/0.9865, allocations: 142.3 MB / 1.205 GB, free: 26.16 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.04/2.027, allocations: 411.9 MB / 1.608 GB, free: 11.48 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003296/2.027, allocations: 93.95 kB / 1.608 GB, free: 11.43 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 1.174/3.201, allocations: 249.5 MB / 1.851 GB, free: 316.4 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/3.201, allocations: 15.94 kB / 1.851 GB, free: 316.3 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004356/3.202, allocations: 138.5 kB / 1.851 GB, free: 316.2 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01597/3.217, allocations: 7.813 MB / 1.859 GB, free: 308.4 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.919e-05/3.218, allocations: 24 kB / 1.859 GB, free: 308.4 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.911e-05/3.218, allocations: 47.91 kB / 1.859 GB, free: 308.3 MB / 1.135 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001003/3.219, allocations: 0.6559 MB / 1.86 GB, free: 307.7 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/3.22, allocations: 0.8733 MB / 1.861 GB, free: 306.7 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.593e-05/3.22, allocations: 3.938 kB / 1.861 GB, free: 306.7 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.389e-05/3.22, allocations: 4 kB / 1.861 GB, free: 306.7 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.966e-05/3.22, allocations: 20 kB / 1.861 GB, free: 306.7 MB / 1.135 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004113/3.224, allocations: 4.504 MB / 1.865 GB, free: 301.9 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003114/3.224, allocations: 306.5 kB / 1.865 GB, free: 301.6 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002629/3.225, allocations: 257.4 kB / 1.866 GB, free: 301.4 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003067/3.225, allocations: 437.2 kB / 1.866 GB, free: 300.8 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/3.225, allocations: 38.89 kB / 1.866 GB, free: 300.8 MB / 1.135 GB Notification: Performance of pre-optimization done (n=40): time 3.447e-06/3.225, allocations: 0 / 1.866 GB, free: 300.8 MB / 1.135 GB Notification: Performance of matching and sorting (n=40): time 0.001106/3.226, allocations: 0.5484 MB / 1.867 GB, free: 300.2 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.143e-05/3.226, allocations: 59.41 kB / 1.867 GB, free: 300.2 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008446/3.227, allocations: 0.8013 MB / 1.867 GB, free: 299.4 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 4.02e-05/3.227, allocations: 29.64 kB / 1.867 GB, free: 299.3 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001785/3.227, allocations: 382.8 kB / 1.868 GB, free: 298.9 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001225/3.227, allocations: 142 kB / 1.868 GB, free: 298.8 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.04e-05/3.227, allocations: 0 / 1.868 GB, free: 298.8 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 7.777e-05/3.227, allocations: 330 kB / 1.868 GB, free: 298.5 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002332/3.228, allocations: 213.2 kB / 1.868 GB, free: 298.3 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003211/3.228, allocations: 436.6 kB / 1.869 GB, free: 297.7 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004414/3.228, allocations: 321.3 kB / 1.869 GB, free: 297.4 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/3.228, allocations: 0 / 1.869 GB, free: 297.4 MB / 1.135 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001093/3.23, allocations: 0.7585 MB / 1.87 GB, free: 296.7 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003543/3.23, allocations: 2.175 MB / 1.872 GB, free: 294.3 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/3.23, allocations: 16 kB / 1.872 GB, free: 294.3 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000188/3.23, allocations: 58.7 kB / 1.872 GB, free: 294.2 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003497/3.231, allocations: 111.8 kB / 1.872 GB, free: 294.1 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004101/3.231, allocations: 0.642 MB / 1.873 GB, free: 293.5 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007891/3.232, allocations: 87.45 kB / 1.873 GB, free: 293.4 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.199e-05/3.232, allocations: 31.98 kB / 1.873 GB, free: 293.4 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 9.128e-06/3.232, allocations: 4 kB / 1.873 GB, free: 293.4 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009097/3.233, allocations: 0.6164 MB / 1.874 GB, free: 292.7 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/3.233, allocations: 4 kB / 1.874 GB, free: 292.7 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001437/3.233, allocations: 60.81 kB / 1.874 GB, free: 292.7 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003203/3.233, allocations: 112.3 kB / 1.874 GB, free: 292.6 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001257/3.234, allocations: 1.586 MB / 1.875 GB, free: 290.9 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006837/3.235, allocations: 71.61 kB / 1.875 GB, free: 290.8 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.581e-05/3.235, allocations: 35.98 kB / 1.875 GB, free: 290.8 MB / 1.135 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001625/3.235, allocations: 128.4 kB / 1.876 GB, free: 290.6 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001276/3.236, allocations: 86.97 kB / 1.876 GB, free: 290.5 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001075/3.237, allocations: 0.6429 MB / 1.876 GB, free: 289.9 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/3.237, allocations: 11.89 kB / 1.876 GB, free: 289.9 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/3.237, allocations: 0 / 1.876 GB, free: 289.9 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007183/3.237, allocations: 0.8033 MB / 1.877 GB, free: 289 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002141/3.24, allocations: 1.58 MB / 1.879 GB, free: 287.4 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/3.24, allocations: 3.906 kB / 1.879 GB, free: 287.3 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003229/3.24, allocations: 79.89 kB / 1.879 GB, free: 287.3 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.658e-05/3.24, allocations: 28.84 kB / 1.879 GB, free: 287.2 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.723e-05/3.24, allocations: 8 kB / 1.879 GB, free: 287.2 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002472/3.24, allocations: 0.5719 MB / 1.879 GB, free: 286.6 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/3.24, allocations: 4 kB / 1.879 GB, free: 286.6 MB / 1.135 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001017/3.241, allocations: 0.9945 MB / 1.88 GB, free: 285.6 MB / 1.135 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001486/3.243, allocations: 1.663 MB / 1.882 GB, free: 283.9 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004278/3.243, allocations: 267.8 kB / 1.882 GB, free: 283.6 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000118/3.243, allocations: 4 kB / 1.882 GB, free: 283.6 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005888/3.244, allocations: 55.78 kB / 1.882 GB, free: 283.5 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.727e-05/3.244, allocations: 23.97 kB / 1.882 GB, free: 283.5 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.792e-05/3.244, allocations: 27.97 kB / 1.882 GB, free: 283.5 MB / 1.135 GB Notification: Performance of sort global known variables: time 0.0006907/3.245, allocations: 0.6162 MB / 1.883 GB, free: 282.9 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.003116/3.248, allocations: 0.6392 MB / 1.883 GB, free: 282.2 MB / 1.135 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008397/3.249, allocations: 404 kB / 1.884 GB, free: 281.8 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.001268/3.25, allocations: 0.9892 MB / 1.885 GB, free: 280.8 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/3.25, allocations: 0 / 1.885 GB, free: 280.8 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.000264/3.25, allocations: 231.6 kB / 1.885 GB, free: 280.6 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002188/3.252, allocations: 0.521 MB / 1.886 GB, free: 280.1 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002389/3.255, allocations: 1.662 MB / 1.887 GB, free: 278.4 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007154/3.256, allocations: 1.342 MB / 1.888 GB, free: 277 MB / 1.135 GB Notification: Performance of SimCode: time 2.61e-07/3.256, allocations: 0 / 1.888 GB, free: 277 MB / 1.135 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe 2>&1)