Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.TraceSubstanceConservationDynamicBalance,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",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.7057/0.7057, allocations: 141.8 MB / 149.1 MB, free: 14.55 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 185.4 kB / 182 MB, free: 11.04 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.28/1.28, allocations: 221.3 MB / 436 MB, free: 3.625 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.0009816/0.0009815, allocations: 94.94 kB / 0.507 GB, free: 18.43 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00177/0.00177, allocations: 283.3 kB / 0.5885 GB, free: 5.004 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.4156/0.4174, allocations: 89.62 MB / 0.676 GB, free: 138 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.5739, allocations: 82.78 MB / 0.7568 GB, free: 85.41 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.259/3.833, allocations: 1.89 GB / 2.647 GB, free: 105.4 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002414/3.834, allocations: 87.94 kB / 2.647 GB, free: 105.3 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 1.854/5.688, allocations: 0.5963 GB / 3.243 GB, free: 37.53 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 5.569e-05/5.688, allocations: 8 kB / 3.243 GB, free: 37.52 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001926/5.69, allocations: 230.6 kB / 3.243 GB, free: 37.3 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001983/5.692, allocations: 0.664 MB / 3.244 GB, free: 36.59 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.091e-05/5.692, allocations: 20 kB / 3.244 GB, free: 36.57 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002214/5.692, allocations: 52 kB / 3.244 GB, free: 36.52 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00133/5.694, allocations: 0.5271 MB / 3.245 GB, free: 35.99 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001203/5.695, allocations: 0.7923 MB / 3.245 GB, free: 35.12 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.727e-05/5.695, allocations: 7.938 kB / 3.245 GB, free: 35.11 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.814e-05/5.695, allocations: 0 / 3.245 GB, free: 35.11 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.201e-05/5.695, allocations: 29.31 kB / 3.246 GB, free: 35.08 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003843/5.699, allocations: 4.456 MB / 3.25 GB, free: 30.36 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006814/5.699, allocations: 455.9 kB / 3.25 GB, free: 29.89 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002545/5.7, allocations: 214.9 kB / 3.25 GB, free: 29.67 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001855/5.7, allocations: 110.1 kB / 3.251 GB, free: 29.55 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/5.7, allocations: 34.56 kB / 3.251 GB, free: 29.5 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=43): time 2.074e-06/5.7, allocations: 0 / 3.251 GB, free: 29.5 MB / 0.6982 GB Notification: Performance of matching and sorting (n=45): time 0.002628/5.703, allocations: 1.347 MB / 3.252 GB, free: 28.1 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.226e-05/5.703, allocations: 106.8 kB / 3.252 GB, free: 27.97 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004365/5.703, allocations: 430.3 kB / 3.252 GB, free: 27.54 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 3.748e-05/5.703, allocations: 25.7 kB / 3.252 GB, free: 27.51 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001342/5.703, allocations: 351 kB / 3.253 GB, free: 27.16 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.000117/5.703, allocations: 157.7 kB / 3.253 GB, free: 27 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.187e-05/5.703, allocations: 0 / 3.253 GB, free: 27 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 8.741e-05/5.703, allocations: 378.7 kB / 3.253 GB, free: 26.62 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000229/5.704, allocations: 169.3 kB / 3.253 GB, free: 26.46 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003186/5.704, allocations: 398.7 kB / 3.254 GB, free: 25.96 MB / 0.6982 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001491/5.706, allocations: 0.6498 MB / 3.255 GB, free: 25.3 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/5.706, allocations: 8 kB / 3.255 GB, free: 25.29 MB / 0.6982 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0007608/5.706, allocations: 0.5762 MB / 3.255 GB, free: 24.71 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/5.706, allocations: 4.938 kB / 3.255 GB, free: 24.7 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/5.706, allocations: 7.938 kB / 3.255 GB, free: 24.7 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.258e-05/5.706, allocations: 12 kB / 3.255 GB, free: 24.68 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004371/5.707, allocations: 119.8 kB / 3.255 GB, free: 24.57 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/5.707, allocations: 23.2 kB / 3.255 GB, free: 24.55 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005839/5.707, allocations: 32.11 kB / 3.255 GB, free: 24.52 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-05/5.708, allocations: 31.98 kB / 3.255 GB, free: 24.48 MB / 0.6982 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: vol.dynBal.medium.p = vol.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * 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.0001173/5.708, allocations: 128.7 kB / 3.255 GB, free: 24.35 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001309/5.708, allocations: 67.16 kB / 3.255 GB, free: 24.29 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001397/5.708, allocations: 69.88 kB / 3.256 GB, free: 24.21 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/5.708, allocations: 4 kB / 3.256 GB, free: 24.2 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.944e-06/5.708, allocations: 4 kB / 3.256 GB, free: 24.2 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005034/5.708, allocations: 0.669 MB / 3.256 GB, free: 23.45 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001958/5.71, allocations: 1.484 MB / 3.258 GB, free: 21.87 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/5.71, allocations: 4 kB / 3.258 GB, free: 21.87 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004614/5.711, allocations: 107.9 kB / 3.258 GB, free: 21.76 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.605e-06/5.711, allocations: 4 kB / 3.258 GB, free: 21.76 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.318e-05/5.711, allocations: 8 kB / 3.258 GB, free: 21.75 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.182e-06/5.711, allocations: 11.98 kB / 3.258 GB, free: 21.74 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/5.711, allocations: 7.938 kB / 3.258 GB, free: 21.73 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009011/5.712, allocations: 1.011 MB / 3.259 GB, free: 20.56 MB / 0.6982 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001447/5.713, allocations: 1.702 MB / 3.26 GB, free: 18.7 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002526/5.714, allocations: 184.3 kB / 3.261 GB, free: 18.5 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.897e-05/5.714, allocations: 11.91 kB / 3.261 GB, free: 18.49 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004867/5.714, allocations: 27.97 kB / 3.261 GB, free: 18.46 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.579e-05/5.714, allocations: 35.81 kB / 3.261 GB, free: 18.43 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.13e-05/5.714, allocations: 23.98 kB / 3.261 GB, free: 18.41 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0003018/5.715, allocations: 322.9 kB / 3.261 GB, free: 18.09 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.001994/5.717, allocations: 0.5039 MB / 3.262 GB, free: 17.59 MB / 0.6982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 5 (vol.dynBal.U,vol.dynBal.mXi[1],vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 45 * 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 Backend phase and start with SimCode phase: time 0.002536/5.719, allocations: 1.88 MB / 3.263 GB, free: 15.64 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.0006807/5.72, allocations: 437.3 kB / 3.264 GB, free: 15.22 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/5.72, allocations: 0 / 3.264 GB, free: 15.22 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0002437/5.72, allocations: 199.8 kB / 3.264 GB, free: 15.02 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001387/5.722, allocations: 295.4 kB / 3.264 GB, free: 14.74 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00225/5.724, allocations: 1.246 MB / 3.265 GB, free: 13.41 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006533/5.724, allocations: 1.115 MB / 3.267 GB, free: 12.27 MB / 0.6982 GB Notification: Performance of SimCode: time 3.41e-07/5.724, allocations: 0 / 3.267 GB, free: 12.27 MB / 0.6982 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)