Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesWater",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 10.0.0-master/package.mo): time 2.141/2.141, allocations: 390.4 MB / 397.7 MB, free: 10.69 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 170.9 kB / 490.8 MB, free: 11.23 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.551/1.551, allocations: 221.4 MB / 0.7863 GB, free: 13.6 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 94.62 kB / 0.9264 GB, free: 4.586 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 0.3951/0.3962, allocations: 149.1 MB / 1.072 GB, free: 15.53 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.064/1.46, allocations: 143 MB / 1.212 GB, free: 155.9 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.303/2.763, allocations: 412.1 MB / 1.614 GB, free: 206.7 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003083/2.764, allocations: 85.17 kB / 1.614 GB, free: 206.7 MB / 1.026 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.5279/3.292, allocations: 248.5 MB / 1.857 GB, free: 5.082 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 5.627e-05/3.292, allocations: 8 kB / 1.857 GB, free: 5.074 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006132/3.292, allocations: 87 kB / 1.857 GB, free: 4.988 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03731/3.33, allocations: 12.47 MB / 1.869 GB, free: 8.363 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.087e-05/3.33, allocations: 16 kB / 1.869 GB, free: 8.348 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.307e-05/3.33, allocations: 24 kB / 1.869 GB, free: 8.324 MB / 1.057 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000637/3.331, allocations: 265.9 kB / 1.869 GB, free: 8.066 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008499/3.331, allocations: 426.2 kB / 1.87 GB, free: 7.617 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.437e-05/3.331, allocations: 3.938 kB / 1.87 GB, free: 7.613 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.715e-05/3.331, allocations: 4 kB / 1.87 GB, free: 7.609 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.001e-05/3.332, allocations: 15.94 kB / 1.87 GB, free: 7.594 MB / 1.057 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003763/3.335, allocations: 2.665 MB / 1.872 GB, free: 4.715 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002545/3.336, allocations: 122.1 kB / 1.873 GB, free: 4.59 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001996/3.336, allocations: 101.1 kB / 1.873 GB, free: 4.488 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000475/3.336, allocations: 344.6 kB / 1.873 GB, free: 4.078 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.356e-05/3.336, allocations: 42.69 kB / 1.873 GB, free: 4.027 MB / 1.057 GB Notification: Performance of pre-optimization done (n=22): time 3.226e-06/3.336, allocations: 0 / 1.873 GB, free: 4.027 MB / 1.057 GB Notification: Performance of matching and sorting (n=22): time 0.0007447/3.337, allocations: 234.2 kB / 1.873 GB, free: 3.797 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001431/3.337, allocations: 51.41 kB / 1.873 GB, free: 3.734 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007498/3.338, allocations: 442.2 kB / 1.874 GB, free: 3.293 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 4.507e-05/3.338, allocations: 25.7 kB / 1.874 GB, free: 3.262 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002312/3.338, allocations: 271.3 kB / 1.874 GB, free: 2.992 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 9.786e-05/3.338, allocations: 78.84 kB / 1.874 GB, free: 2.914 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.242e-05/3.338, allocations: 0 / 1.874 GB, free: 2.914 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.000192/3.339, allocations: 362.8 kB / 1.874 GB, free: 2.551 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/3.339, allocations: 75.98 kB / 1.875 GB, free: 2.477 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000287/3.339, allocations: 226.8 kB / 1.875 GB, free: 2.188 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003133/3.339, allocations: 126 kB / 1.875 GB, free: 2.066 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.271e-06/3.339, allocations: 4 kB / 1.875 GB, free: 2.062 MB / 1.057 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006791/3.34, allocations: 350.1 kB / 1.875 GB, free: 1.715 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009936/3.341, allocations: 1.655 MB / 1.877 GB, free: 15.93 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/3.341, allocations: 7.906 kB / 1.877 GB, free: 15.92 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.349e-05/3.341, allocations: 8 kB / 1.877 GB, free: 15.91 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003643/3.342, allocations: 75.84 kB / 1.877 GB, free: 15.84 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.302e-05/3.342, allocations: 4 kB / 1.877 GB, free: 15.84 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005576/3.342, allocations: 55.56 kB / 1.877 GB, free: 15.78 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.928e-05/3.342, allocations: 20 kB / 1.877 GB, free: 15.76 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/3.342, allocations: 4 kB / 1.877 GB, free: 15.76 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005447/3.343, allocations: 268.5 kB / 1.877 GB, free: 15.5 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/3.343, allocations: 4 kB / 1.877 GB, free: 15.49 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.858e-06/3.343, allocations: 8 kB / 1.877 GB, free: 15.48 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002558/3.343, allocations: 71.91 kB / 1.877 GB, free: 15.41 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/3.343, allocations: 15.88 kB / 1.877 GB, free: 15.4 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003859/3.343, allocations: 44.06 kB / 1.877 GB, free: 15.36 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.612e-05/3.343, allocations: 20 kB / 1.877 GB, free: 15.34 MB / 1.073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 44 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001416/3.344, allocations: 120.8 kB / 1.878 GB, free: 15.21 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000119/3.344, allocations: 59.25 kB / 1.878 GB, free: 15.15 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006765/3.344, allocations: 270.8 kB / 1.878 GB, free: 14.89 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/3.344, allocations: 0 / 1.878 GB, free: 14.89 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/3.344, allocations: 64 / 1.878 GB, free: 14.89 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004418/3.345, allocations: 377.4 kB / 1.878 GB, free: 14.46 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00182/3.347, allocations: 0.9597 MB / 1.879 GB, free: 13.41 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/3.347, allocations: 4 kB / 1.879 GB, free: 13.41 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002377/3.347, allocations: 51.91 kB / 1.879 GB, free: 13.36 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-06/3.347, allocations: 4 kB / 1.879 GB, free: 13.36 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.041e-05/3.347, allocations: 4 kB / 1.879 GB, free: 13.35 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/3.347, allocations: 12.22 kB / 1.879 GB, free: 13.34 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.501e-06/3.347, allocations: 4 kB / 1.879 GB, free: 13.34 MB / 1.073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008931/3.348, allocations: 0.6095 MB / 1.88 GB, free: 12.62 MB / 1.073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00122/3.349, allocations: 1.09 MB / 1.881 GB, free: 11.43 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002999/3.35, allocations: 176.3 kB / 1.881 GB, free: 11.24 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.875e-05/3.35, allocations: 11.89 kB / 1.881 GB, free: 11.23 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003918/3.35, allocations: 20.05 kB / 1.881 GB, free: 11.21 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.154e-05/3.35, allocations: 19.89 kB / 1.881 GB, free: 11.19 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.84e-05/3.35, allocations: 15.98 kB / 1.881 GB, free: 11.18 MB / 1.073 GB Notification: Performance of sort global known variables: time 0.0004781/3.351, allocations: 338.9 kB / 1.881 GB, free: 10.85 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.002743/3.353, allocations: 443.1 kB / 1.882 GB, free: 10.41 MB / 1.073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (vol.dynBal.U,vol1.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00101/3.354, allocations: 400.2 kB / 1.882 GB, free: 10.02 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.0007882/3.355, allocations: 394.9 kB / 1.883 GB, free: 9.633 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/3.355, allocations: 0 / 1.883 GB, free: 9.633 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001918/3.355, allocations: 102 kB / 1.883 GB, free: 9.535 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001695/3.357, allocations: 317.6 kB / 1.883 GB, free: 9.234 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002039/3.359, allocations: 0.8139 MB / 1.884 GB, free: 8.367 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000751/3.36, allocations: 0.9795 MB / 1.885 GB, free: 7.363 MB / 1.073 GB Notification: Performance of SimCode: time 3.196e-06/3.36, allocations: 0 / 1.885 GB, free: 7.363 MB / 1.073 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesWater_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesWater.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe 2>&1)