Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_9_Buildings_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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.022/2.022, allocations: 387.2 MB / 394.5 MB, free: 4.422 MB / 306.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 185 kB / 487 MB, free: 10.93 MB / 402.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 221.3 MB / 0.7819 GB, free: 3.871 MB / 0.5496 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009977/0.0009979, allocations: 96.62 kB / 0.9213 GB, free: 4.965 MB / 0.6902 GB Notification: Performance of FrontEnd - loaded program: time 0.5453/0.5463, allocations: 148.4 MB / 1.066 GB, free: 140.9 MB / 0.7214 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2779/0.8242, allocations: 142.3 MB / 1.205 GB, free: 14.57 MB / 0.7371 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.758/5.583, allocations: 1.93 GB / 3.135 GB, free: 260.4 MB / 1.143 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002969/5.583, allocations: 90.62 kB / 3.135 GB, free: 260.4 MB / 1.143 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.79/7.372, allocations: 0.6013 GB / 3.736 GB, free: 70.96 MB / 1.143 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/7.373, allocations: 11.98 kB / 3.737 GB, free: 70.95 MB / 1.143 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001289/7.374, allocations: 222.6 kB / 3.737 GB, free: 70.73 MB / 1.143 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001186/7.375, allocations: 0.6718 MB / 3.737 GB, free: 70.02 MB / 1.143 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.791e-05/7.375, allocations: 24 kB / 3.737 GB, free: 70 MB / 1.143 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001108/7.375, allocations: 63.91 kB / 3.737 GB, free: 69.93 MB / 1.143 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009396/7.376, allocations: 0.5155 MB / 3.738 GB, free: 69.42 MB / 1.143 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001051/7.377, allocations: 0.8 MB / 3.739 GB, free: 68.54 MB / 1.143 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.652e-05/7.377, allocations: 7.938 kB / 3.739 GB, free: 68.53 MB / 1.143 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.866e-05/7.377, allocations: 3.906 kB / 3.739 GB, free: 68.52 MB / 1.143 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.693e-05/7.377, allocations: 33.3 kB / 3.739 GB, free: 68.49 MB / 1.143 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003557/7.381, allocations: 4.504 MB / 3.743 GB, free: 63.72 MB / 1.143 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006477/7.382, allocations: 444.7 kB / 3.744 GB, free: 63.26 MB / 1.143 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002576/7.382, allocations: 229.4 kB / 3.744 GB, free: 63.03 MB / 1.143 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001867/7.382, allocations: 97.09 kB / 3.744 GB, free: 62.91 MB / 1.143 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/7.382, allocations: 38.56 kB / 3.744 GB, free: 62.87 MB / 1.143 GB Notification: Performance of pre-optimization done (n=43): time 3.928e-06/7.382, allocations: 4 kB / 3.744 GB, free: 62.86 MB / 1.143 GB Notification: Performance of matching and sorting (n=45): time 0.002298/7.384, allocations: 1.34 MB / 3.745 GB, free: 61.47 MB / 1.143 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/7.384, allocations: 110.8 kB / 3.745 GB, free: 61.34 MB / 1.143 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004427/7.385, allocations: 438.4 kB / 3.746 GB, free: 60.9 MB / 1.143 GB Notification: Performance of collectPreVariables (initialization): time 3.548e-05/7.385, allocations: 29.7 kB / 3.746 GB, free: 60.86 MB / 1.143 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/7.385, allocations: 351 kB / 3.746 GB, free: 60.51 MB / 1.143 GB Notification: Performance of collectInitialBindings (initialization): time 9.849e-05/7.385, allocations: 157.7 kB / 3.746 GB, free: 60.36 MB / 1.143 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.094e-05/7.385, allocations: 0 / 3.746 GB, free: 60.36 MB / 1.143 GB Notification: Performance of setup shared object (initialization): time 8.763e-05/7.385, allocations: 374.7 kB / 3.747 GB, free: 59.98 MB / 1.143 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002174/7.386, allocations: 169.3 kB / 3.747 GB, free: 59.81 MB / 1.143 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000313/7.386, allocations: 402.7 kB / 3.747 GB, free: 59.32 MB / 1.143 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.001504/7.387, allocations: 0.6669 MB / 3.748 GB, free: 58.64 MB / 1.143 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/7.387, allocations: 3.984 kB / 3.748 GB, free: 58.63 MB / 1.143 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0007537/7.388, allocations: 0.5823 MB / 3.748 GB, free: 58.04 MB / 1.143 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/7.388, allocations: 8 kB / 3.748 GB, free: 58.04 MB / 1.143 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.809e-06/7.388, allocations: 8.094 kB / 3.748 GB, free: 58.03 MB / 1.143 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/7.388, allocations: 12 kB / 3.748 GB, free: 58.02 MB / 1.143 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004518/7.389, allocations: 123.8 kB / 3.749 GB, free: 57.89 MB / 1.143 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.249e-05/7.389, allocations: 19.92 kB / 3.749 GB, free: 57.88 MB / 1.143 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005672/7.389, allocations: 39.88 kB / 3.749 GB, free: 57.84 MB / 1.143 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.556e-05/7.389, allocations: 28 kB / 3.749 GB, free: 57.81 MB / 1.143 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.0001231/7.389, allocations: 124.8 kB / 3.749 GB, free: 57.68 MB / 1.143 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001344/7.39, allocations: 71.14 kB / 3.749 GB, free: 57.61 MB / 1.143 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001462/7.39, allocations: 74.03 kB / 3.749 GB, free: 57.54 MB / 1.143 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/7.39, allocations: 8 kB / 3.749 GB, free: 57.53 MB / 1.143 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/7.39, allocations: 3.938 kB / 3.749 GB, free: 57.52 MB / 1.143 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005405/7.39, allocations: 0.6676 MB / 3.75 GB, free: 56.77 MB / 1.143 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001858/7.392, allocations: 1.481 MB / 3.751 GB, free: 55.2 MB / 1.143 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/7.392, allocations: 4 kB / 3.751 GB, free: 55.19 MB / 1.143 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004753/7.393, allocations: 108.3 kB / 3.751 GB, free: 55.09 MB / 1.143 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.692e-06/7.393, allocations: 8 kB / 3.751 GB, free: 55.08 MB / 1.143 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.164e-05/7.393, allocations: 8 kB / 3.751 GB, free: 55.07 MB / 1.143 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.097e-06/7.393, allocations: 4 kB / 3.751 GB, free: 55.07 MB / 1.143 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/7.393, allocations: 7.938 kB / 3.751 GB, free: 55.06 MB / 1.143 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008543/7.394, allocations: 0.9895 MB / 3.752 GB, free: 53.91 MB / 1.143 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001483/7.395, allocations: 1.67 MB / 3.754 GB, free: 52.09 MB / 1.143 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000236/7.395, allocations: 192.2 kB / 3.754 GB, free: 51.88 MB / 1.143 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.139e-05/7.395, allocations: 4 kB / 3.754 GB, free: 51.88 MB / 1.143 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000467/7.396, allocations: 35.88 kB / 3.754 GB, free: 51.84 MB / 1.143 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.137e-05/7.396, allocations: 23.97 kB / 3.754 GB, free: 51.82 MB / 1.143 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.337e-05/7.396, allocations: 23.98 kB / 3.754 GB, free: 51.8 MB / 1.143 GB Notification: Performance of sort global known variables: time 0.000319/7.396, allocations: 330.9 kB / 3.754 GB, free: 51.48 MB / 1.143 GB Notification: Performance of remove unused functions: time 0.00197/7.398, allocations: 0.4959 MB / 3.755 GB, free: 50.98 MB / 1.143 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,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.002162/7.4, allocations: 1.888 MB / 3.757 GB, free: 49.03 MB / 1.143 GB Notification: Performance of simCode: created initialization part: time 0.000718/7.401, allocations: 420.9 kB / 3.757 GB, free: 48.62 MB / 1.143 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/7.401, allocations: 4 kB / 3.757 GB, free: 48.61 MB / 1.143 GB Notification: Performance of simCode: created simulation system equations: time 0.0002208/7.401, allocations: 208 kB / 3.757 GB, free: 48.41 MB / 1.143 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001435/7.403, allocations: 278.1 kB / 3.758 GB, free: 48.14 MB / 1.143 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002503/7.405, allocations: 1.272 MB / 3.759 GB, free: 46.8 MB / 1.143 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006308/7.406, allocations: 1.11 MB / 3.76 GB, free: 45.66 MB / 1.143 GB Notification: Performance of SimCode: time 7.72e-07/7.406, allocations: 0 / 3.76 GB, free: 45.66 MB / 1.143 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)