Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",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 8.1.4-maint.8.1.x/package.mo): time 1.549/1.549, allocations: 289.8 MB / 297.1 MB, free: 6.602 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001578/0.001578, allocations: 181.3 kB / 366.3 MB, free: 1.977 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.728/1.728, allocations: 205.2 MB / 0.6256 GB, free: 5.836 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009718/0.0009715, allocations: 96.61 kB / 0.7396 GB, free: 39.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3094/0.3104, allocations: 122.4 MB / 0.8591 GB, free: 13.24 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7773/1.088, allocations: 116.3 MB / 0.9726 GB, free: 68.54 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.166/6.254, allocations: 2.077 GB / 3.05 GB, free: 322.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003041/6.254, allocations: 84.69 kB / 3.05 GB, free: 322.3 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 2.673/8.927, allocations: 0.7488 GB / 3.799 GB, free: 171.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/8.928, allocations: 11.41 kB / 3.799 GB, free: 171.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003233/8.931, allocations: 0.5087 MB / 3.799 GB, free: 171.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001997/8.933, allocations: 1.109 MB / 3.8 GB, free: 171.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.559e-05/8.933, allocations: 34.75 kB / 3.8 GB, free: 171.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001587/8.933, allocations: 67.12 kB / 3.8 GB, free: 171.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001605/8.935, allocations: 0.955 MB / 3.801 GB, free: 171.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001652/8.936, allocations: 1.072 MB / 3.802 GB, free: 171.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.228e-05/8.936, allocations: 7.031 kB / 3.802 GB, free: 171.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.667e-05/8.936, allocations: 0 / 3.802 GB, free: 171.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-05/8.936, allocations: 38.8 kB / 3.802 GB, free: 171.2 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005332/8.942, allocations: 3.98 MB / 3.806 GB, free: 169.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005864/8.942, allocations: 456.5 kB / 3.807 GB, free: 169.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005278/8.943, allocations: 439.3 kB / 3.807 GB, free: 169.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004316/8.943, allocations: 289.5 kB / 3.807 GB, free: 169.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.106e-05/8.943, allocations: 47.69 kB / 3.808 GB, free: 169.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=74): time 2.445e-06/8.943, allocations: 0 / 3.808 GB, free: 169.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=77): time 0.003962/8.947, allocations: 1.983 MB / 3.809 GB, free: 168.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.915e-05/8.947, allocations: 58.28 kB / 3.81 GB, free: 168.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006906/8.948, allocations: 0.6013 MB / 3.81 GB, free: 168.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.951e-05/8.948, allocations: 33.14 kB / 3.81 GB, free: 168.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001982/8.948, allocations: 438.2 kB / 3.811 GB, free: 168.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002047/8.949, allocations: 263.2 kB / 3.811 GB, free: 168.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.558e-05/8.949, allocations: 0 / 3.811 GB, free: 168.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.988e-05/8.949, allocations: 337.9 kB / 3.811 GB, free: 168 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003946/8.949, allocations: 304.6 kB / 3.811 GB, free: 168 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004957/8.95, allocations: 495 kB / 3.812 GB, free: 167.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004953/8.95, allocations: 388.8 kB / 3.812 GB, free: 167.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/8.95, allocations: 0 / 3.812 GB, free: 167.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001163/8.951, allocations: 0.891 MB / 3.813 GB, free: 167.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/8.951, allocations: 4.875 kB / 3.813 GB, free: 167.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/8.951, allocations: 3.844 kB / 3.813 GB, free: 167.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.079e-05/8.951, allocations: 6.812 kB / 3.813 GB, free: 167.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007/8.952, allocations: 172.3 kB / 3.813 GB, free: 167.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/8.952, allocations: 10.78 kB / 3.813 GB, free: 167.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009955/8.953, allocations: 53.41 kB / 3.813 GB, free: 167.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.712e-05/8.953, allocations: 32.06 kB / 3.813 GB, free: 167.6 MB / 0.948 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 (102): * Single equations (assignments): 102 * 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.0001473/8.953, allocations: 126.5 kB / 3.814 GB, free: 167.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001555/8.954, allocations: 100.1 kB / 3.814 GB, free: 167.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002291/8.954, allocations: 123.5 kB / 3.814 GB, free: 167.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/8.954, allocations: 15.06 kB / 3.814 GB, free: 167.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.254e-05/8.954, allocations: 0 / 3.814 GB, free: 167.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001143/8.955, allocations: 0.9717 MB / 3.815 GB, free: 167.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003433/8.958, allocations: 2.47 MB / 3.817 GB, free: 166.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.754e-06/8.958, allocations: 10.19 kB / 3.817 GB, free: 166.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006976/8.959, allocations: 146 kB / 3.817 GB, free: 166.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003452/8.96, allocations: 98.11 kB / 3.817 GB, free: 166.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.392e-05/8.96, allocations: 18.28 kB / 3.817 GB, free: 166.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001945/8.962, allocations: 2.775 MB / 3.82 GB, free: 164.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.556e-06/8.962, allocations: 13.56 kB / 3.82 GB, free: 164.2 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001884/8.963, allocations: 1.849 MB / 3.822 GB, free: 163.3 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00276/8.966, allocations: 2.785 MB / 3.825 GB, free: 162.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004636/8.967, allocations: 274.1 kB / 3.825 GB, free: 161.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001516/8.967, allocations: 15.19 kB / 3.825 GB, free: 161.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000936/8.968, allocations: 59.33 kB / 3.825 GB, free: 161.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.056e-05/8.968, allocations: 56.05 kB / 3.825 GB, free: 161.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.362e-05/8.968, allocations: 36.19 kB / 3.825 GB, free: 161.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0005513/8.969, allocations: 473.9 kB / 3.825 GB, free: 161.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002458/8.971, allocations: 0.6541 MB / 3.826 GB, free: 161.8 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 6 (vol.dynBal.U,vol.dynBal.mXi[1],volMFactor.dynBal.U,volMFactor.dynBal.mXi[1],vol1.dynBal.U,vol1.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 71 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002397/8.973, allocations: 1.871 MB / 3.828 GB, free: 161.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001075/8.974, allocations: 0.7287 MB / 3.829 GB, free: 161.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.91e-06/8.975, allocations: 3.812 kB / 3.829 GB, free: 161.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007132/8.975, allocations: 0.5854 MB / 3.829 GB, free: 161.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002873/8.978, allocations: 0.6229 MB / 3.83 GB, free: 161.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003696/8.982, allocations: 2.088 MB / 3.832 GB, free: 160.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001037/8.983, allocations: 1.366 MB / 3.833 GB, free: 159.7 MB / 0.948 GB Notification: Performance of SimCode: time 9.12e-07/8.983, allocations: 0 / 3.833 GB, free: 159.7 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1)