Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.24/1.24, allocations: 249.4 MB / 256.7 MB, free: 15.77 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001033/0.001032, allocations: 179.6 kB / 316 MB, free: 7.129 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.332/1.332, allocations: 205.1 MB / 0.5667 GB, free: 23.56 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008508/0.0008509, allocations: 91.05 kB / 0.671 GB, free: 0.7656 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.2174/0.2182, allocations: 112.5 MB / 0.7808 GB, free: 192 kB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4308/0.649, allocations: 106.3 MB / 0.8846 GB, free: 76.16 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6704/1.319, allocations: 391.7 MB / 1.267 GB, free: 14.31 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002295/1.32, allocations: 89.95 kB / 1.267 GB, free: 14.27 MB / 0.7917 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.763/2.083, allocations: 235.2 MB / 1.497 GB, free: 214.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/2.083, allocations: 8 kB / 1.497 GB, free: 214.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002832/2.083, allocations: 83.06 kB / 1.497 GB, free: 214.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02223/2.105, allocations: 11.86 MB / 1.509 GB, free: 202.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/2.105, allocations: 12 kB / 1.509 GB, free: 202.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.022e-05/2.105, allocations: 28 kB / 1.509 GB, free: 202.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004889/2.106, allocations: 265.9 kB / 1.509 GB, free: 202.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005332/2.107, allocations: 426.1 kB / 1.509 GB, free: 202.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.891e-05/2.107, allocations: 0 / 1.509 GB, free: 202.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.674e-05/2.107, allocations: 3.984 kB / 1.509 GB, free: 202.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.392e-05/2.107, allocations: 12 kB / 1.509 GB, free: 202.2 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002036/2.109, allocations: 2.657 MB / 1.512 GB, free: 199.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000149/2.109, allocations: 134 kB / 1.512 GB, free: 199.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/2.109, allocations: 89.16 kB / 1.512 GB, free: 199.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002423/2.109, allocations: 340.6 kB / 1.512 GB, free: 198.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.836e-05/2.109, allocations: 34.75 kB / 1.513 GB, free: 198.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=22): time 1.593e-06/2.109, allocations: 0 / 1.513 GB, free: 198.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=22): time 0.0004805/2.11, allocations: 239.6 kB / 1.513 GB, free: 198.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.395e-05/2.11, allocations: 55.41 kB / 1.513 GB, free: 198.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003903/2.11, allocations: 426.2 kB / 1.513 GB, free: 197.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/2.11, allocations: 29.7 kB / 1.513 GB, free: 197.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000106/2.11, allocations: 275.2 kB / 1.513 GB, free: 197.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.094e-05/2.11, allocations: 78.84 kB / 1.514 GB, free: 197.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.113e-05/2.11, allocations: 4 kB / 1.514 GB, free: 197.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.385e-05/2.11, allocations: 358.7 kB / 1.514 GB, free: 197.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001034/2.111, allocations: 75.98 kB / 1.514 GB, free: 197.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001513/2.111, allocations: 227.5 kB / 1.514 GB, free: 196.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002175/2.111, allocations: 125.5 kB / 1.514 GB, free: 196.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/2.111, allocations: 3.938 kB / 1.514 GB, free: 196.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0004799/2.111, allocations: 344.8 kB / 1.515 GB, free: 196.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003027/2.112, allocations: 1.662 MB / 1.516 GB, free: 194.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/2.112, allocations: 4 kB / 1.516 GB, free: 194.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/2.112, allocations: 8 kB / 1.516 GB, free: 194.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002532/2.112, allocations: 83.78 kB / 1.516 GB, free: 194.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.879e-06/2.112, allocations: 8 kB / 1.516 GB, free: 194.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003843/2.112, allocations: 51.56 kB / 1.516 GB, free: 194.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.95e-05/2.112, allocations: 20 kB / 1.516 GB, free: 194.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.2e-06/2.112, allocations: 4 kB / 1.516 GB, free: 194.4 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003732/2.113, allocations: 267.6 kB / 1.517 GB, free: 194.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/2.113, allocations: 4 kB / 1.517 GB, free: 194.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.13e-06/2.113, allocations: 8 kB / 1.517 GB, free: 194.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002096/2.113, allocations: 75.91 kB / 1.517 GB, free: 194 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/2.113, allocations: 11.94 kB / 1.517 GB, free: 194 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003064/2.113, allocations: 48.19 kB / 1.517 GB, free: 194 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.188e-05/2.113, allocations: 16 kB / 1.517 GB, free: 194 MB / 0.8698 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 7.004e-05/2.114, allocations: 112.9 kB / 1.517 GB, free: 193.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.062e-05/2.114, allocations: 55.34 kB / 1.517 GB, free: 193.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004374/2.114, allocations: 283.2 kB / 1.517 GB, free: 193.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/2.114, allocations: 0 / 1.517 GB, free: 193.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/2.114, allocations: 0 / 1.517 GB, free: 193.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003025/2.114, allocations: 367.2 kB / 1.518 GB, free: 193.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/2.115, allocations: 0.9478 MB / 1.519 GB, free: 192.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.267e-06/2.115, allocations: 4 kB / 1.519 GB, free: 192.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001981/2.116, allocations: 55.91 kB / 1.519 GB, free: 192 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/2.116, allocations: 4.281 kB / 1.519 GB, free: 192 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/2.116, allocations: 8 kB / 1.519 GB, free: 192 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/2.116, allocations: 4 kB / 1.519 GB, free: 192 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/2.116, allocations: 15.94 kB / 1.519 GB, free: 192 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005038/2.116, allocations: 0.5931 MB / 1.519 GB, free: 191.3 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006643/2.117, allocations: 1.096 MB / 1.52 GB, free: 190.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001576/2.117, allocations: 168.3 kB / 1.52 GB, free: 189.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.503e-05/2.117, allocations: 8 kB / 1.52 GB, free: 189.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003301/2.118, allocations: 27.94 kB / 1.52 GB, free: 189.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.756e-05/2.118, allocations: 15.92 kB / 1.521 GB, free: 189.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-05/2.118, allocations: 19.98 kB / 1.521 GB, free: 189.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0002601/2.118, allocations: 326.9 kB / 1.521 GB, free: 189.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00206/2.12, allocations: 451 kB / 1.521 GB, free: 189.1 MB / 0.8698 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.0005568/2.12, allocations: 402.2 kB / 1.522 GB, free: 188.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.000417/2.121, allocations: 383.8 kB / 1.522 GB, free: 188.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/2.121, allocations: 0 / 1.522 GB, free: 188.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001041/2.121, allocations: 106 kB / 1.522 GB, free: 188.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001284/2.122, allocations: 305.7 kB / 1.522 GB, free: 187.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/2.123, allocations: 0.817 MB / 1.523 GB, free: 187.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003524/2.124, allocations: 0.9685 MB / 1.524 GB, free: 186.1 MB / 0.8698 GB Notification: Performance of SimCode: time 2.9e-07/2.124, allocations: 0 / 1.524 GB, free: 186.1 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesWater_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesWater.fmu > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe 2>&1)