Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_CoupledVolumesWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.7363/0.7363, allocations: 141.8 MB / 149.1 MB, free: 1.359 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 177.3 kB / 182 MB, free: 0.7266 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.298/1.298, allocations: 221.3 MB / 436 MB, free: 5.48 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 88.61 kB / 0.5071 GB, free: 2.145 MB / 410.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00163/0.00163, allocations: 277.9 kB / 0.5885 GB, free: 47.23 MB / 410.9 MB Notification: Performance of FrontEnd - loaded program: time 0.3308/0.3325, allocations: 89.62 MB / 0.676 GB, free: 59.59 MB / 442.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.4787, allocations: 82.78 MB / 0.7568 GB, free: 0.582 MB / 442.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6163/1.095, allocations: 370.5 MB / 1.119 GB, free: 0.7344 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002737/1.095, allocations: 90.06 kB / 1.119 GB, free: 0.6914 MB / 0.6982 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.7595/1.855, allocations: 246.3 MB / 1.359 GB, free: 53.32 MB / 0.7138 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/1.855, allocations: 9 kB / 1.359 GB, free: 53.31 MB / 0.7138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004082/1.855, allocations: 83.06 kB / 1.359 GB, free: 53.23 MB / 0.7138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02638/1.882, allocations: 12.45 MB / 1.372 GB, free: 40.74 MB / 0.7138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.292e-05/1.882, allocations: 12 kB / 1.372 GB, free: 40.73 MB / 0.7138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001294/1.882, allocations: 35.98 kB / 1.372 GB, free: 40.69 MB / 0.7138 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006002/1.883, allocations: 262 kB / 1.372 GB, free: 40.44 MB / 0.7138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000668/1.883, allocations: 422.2 kB / 1.372 GB, free: 39.99 MB / 0.7138 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.244e-05/1.883, allocations: 8 kB / 1.372 GB, free: 39.98 MB / 0.7138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.706e-05/1.883, allocations: 3.938 kB / 1.372 GB, free: 39.98 MB / 0.7138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.541e-05/1.884, allocations: 12 kB / 1.372 GB, free: 39.96 MB / 0.7138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002692/1.886, allocations: 2.673 MB / 1.375 GB, free: 37.1 MB / 0.7138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001593/1.886, allocations: 118.1 kB / 1.375 GB, free: 36.98 MB / 0.7138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/1.886, allocations: 97.14 kB / 1.375 GB, free: 36.88 MB / 0.7138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002504/1.887, allocations: 344.6 kB / 1.375 GB, free: 36.47 MB / 0.7138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.875e-05/1.887, allocations: 38.75 kB / 1.375 GB, free: 36.43 MB / 0.7138 GB Notification: Performance of pre-optimization done (n=22): time 1.833e-06/1.887, allocations: 0 / 1.375 GB, free: 36.43 MB / 0.7138 GB Notification: Performance of matching and sorting (n=22): time 0.0005793/1.887, allocations: 234.7 kB / 1.376 GB, free: 36.2 MB / 0.7138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.028e-05/1.887, allocations: 59.41 kB / 1.376 GB, free: 36.12 MB / 0.7138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004794/1.888, allocations: 426.2 kB / 1.376 GB, free: 35.7 MB / 0.7138 GB Notification: Performance of collectPreVariables (initialization): time 3.236e-05/1.888, allocations: 25.7 kB / 1.376 GB, free: 35.67 MB / 0.7138 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/1.888, allocations: 275.3 kB / 1.376 GB, free: 35.4 MB / 0.7138 GB Notification: Performance of collectInitialBindings (initialization): time 5.748e-05/1.888, allocations: 78.84 kB / 1.377 GB, free: 35.32 MB / 0.7138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.253e-05/1.888, allocations: 0 / 1.377 GB, free: 35.32 MB / 0.7138 GB Notification: Performance of setup shared object (initialization): time 7.866e-05/1.888, allocations: 358.8 kB / 1.377 GB, free: 34.96 MB / 0.7138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001135/1.888, allocations: 83.91 kB / 1.377 GB, free: 34.88 MB / 0.7138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001592/1.889, allocations: 222.8 kB / 1.377 GB, free: 34.59 MB / 0.7138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002497/1.889, allocations: 135.9 kB / 1.377 GB, free: 34.46 MB / 0.7138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/1.889, allocations: 0 / 1.377 GB, free: 34.46 MB / 0.7138 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005447/1.889, allocations: 349 kB / 1.378 GB, free: 34.11 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 0.000301/1.89, allocations: 1.647 MB / 1.379 GB, free: 32.34 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/1.89, allocations: 8 kB / 1.379 GB, free: 32.33 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/1.89, allocations: 8 kB / 1.379 GB, free: 32.32 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002711/1.89, allocations: 83.91 kB / 1.379 GB, free: 32.24 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/1.89, allocations: 7.984 kB / 1.379 GB, free: 32.23 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004992/1.89, allocations: 51.58 kB / 1.379 GB, free: 32.18 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.562e-05/1.891, allocations: 19.98 kB / 1.379 GB, free: 32.16 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 8.366e-06/1.891, allocations: 4 kB / 1.379 GB, free: 32.16 MB / 0.7138 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004256/1.891, allocations: 268 kB / 1.38 GB, free: 31.89 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/1.891, allocations: 4 kB / 1.38 GB, free: 31.89 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.374e-06/1.891, allocations: 8 kB / 1.38 GB, free: 31.88 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002355/1.891, allocations: 79.84 kB / 1.38 GB, free: 31.8 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/1.891, allocations: 15.92 kB / 1.38 GB, free: 31.79 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004087/1.892, allocations: 39.89 kB / 1.38 GB, free: 31.75 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.946e-05/1.892, allocations: 19.91 kB / 1.38 GB, free: 31.73 MB / 0.7138 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 8.957e-05/1.892, allocations: 121.8 kB / 1.38 GB, free: 31.61 MB / 0.7138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.493e-05/1.892, allocations: 55.34 kB / 1.38 GB, free: 31.55 MB / 0.7138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004941/1.892, allocations: 267.9 kB / 1.38 GB, free: 31.28 MB / 0.7138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/1.892, allocations: 4 kB / 1.38 GB, free: 31.28 MB / 0.7138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/1.892, allocations: 0 / 1.38 GB, free: 31.28 MB / 0.7138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000315/1.893, allocations: 376.5 kB / 1.381 GB, free: 30.86 MB / 0.7138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0013/1.894, allocations: 0.9496 MB / 1.382 GB, free: 29.83 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/1.894, allocations: 0 / 1.382 GB, free: 29.83 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002088/1.894, allocations: 59.91 kB / 1.382 GB, free: 29.77 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/1.894, allocations: 3.984 kB / 1.382 GB, free: 29.77 MB / 0.7138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.922e-05/1.894, allocations: 11.91 kB / 1.382 GB, free: 29.76 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/1.894, allocations: 0 / 1.382 GB, free: 29.76 MB / 0.7138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/1.894, allocations: 12.2 kB / 1.382 GB, free: 29.75 MB / 0.7138 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005412/1.895, allocations: 0.5997 MB / 1.382 GB, free: 29.05 MB / 0.7138 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007353/1.896, allocations: 1.095 MB / 1.383 GB, free: 27.85 MB / 0.7138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002276/1.896, allocations: 172.4 kB / 1.383 GB, free: 27.66 MB / 0.7138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.482e-05/1.896, allocations: 7.906 kB / 1.383 GB, free: 27.66 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000389/1.896, allocations: 23.98 kB / 1.383 GB, free: 27.63 MB / 0.7138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.566e-05/1.896, allocations: 27.81 kB / 1.383 GB, free: 27.61 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.843e-05/1.896, allocations: 15.98 kB / 1.383 GB, free: 27.59 MB / 0.7138 GB Notification: Performance of sort global known variables: time 0.0003223/1.897, allocations: 326.9 kB / 1.384 GB, free: 27.27 MB / 0.7138 GB Notification: Performance of remove unused functions: time 0.002516/1.899, allocations: 451.1 kB / 1.384 GB, free: 26.83 MB / 0.7138 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.0008114/1.9, allocations: 393.2 kB / 1.385 GB, free: 26.46 MB / 0.7138 GB Notification: Performance of simCode: created initialization part: time 0.0005549/1.901, allocations: 392.8 kB / 1.385 GB, free: 26.08 MB / 0.7138 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/1.901, allocations: 4 kB / 1.385 GB, free: 26.08 MB / 0.7138 GB Notification: Performance of simCode: created simulation system equations: time 0.00012/1.901, allocations: 99.78 kB / 1.385 GB, free: 25.98 MB / 0.7138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001478/1.902, allocations: 308.2 kB / 1.385 GB, free: 25.69 MB / 0.7138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001477/1.904, allocations: 0.8209 MB / 1.386 GB, free: 24.81 MB / 0.7138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004583/1.904, allocations: 0.9646 MB / 1.387 GB, free: 23.82 MB / 0.7138 GB Notification: Performance of SimCode: time 3.4e-07/1.904, allocations: 0 / 1.387 GB, free: 23.82 MB / 0.7138 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_CoupledVolumesWater_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_CoupledVolumesWater.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe 2>&1)