Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",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.0.0/package.mo): time 2.415/2.415, allocations: 284.8 MB / 292.1 MB, free: 10.75 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.001709/0.001709, allocations: 179.5 kB / 360.3 MB, free: 7.559 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.173/2.173, allocations: 205.1 MB / 0.6187 GB, free: 13.23 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.001484/0.001483, allocations: 86.31 kB / 0.7317 GB, free: 45.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3064/0.3079, allocations: 121.4 MB / 0.8502 GB, free: 3.965 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6829/0.9909, allocations: 115.2 MB / 0.9627 GB, free: 78.37 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.081/6.072, allocations: 2.073 GB / 3.035 GB, free: 45.67 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002974/6.072, allocations: 84.09 kB / 3.036 GB, free: 45.63 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 2.463/8.535, allocations: 457 MB / 3.482 GB, free: 227.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/8.536, allocations: 10.97 kB / 3.482 GB, free: 227.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003153/8.539, allocations: 330.3 kB / 3.482 GB, free: 227.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002546/8.541, allocations: 0.8407 MB / 3.483 GB, free: 227.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.026e-05/8.541, allocations: 29.81 kB / 3.483 GB, free: 227.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000166/8.542, allocations: 56.27 kB / 3.483 GB, free: 227.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003081/8.545, allocations: 0.7291 MB / 3.484 GB, free: 227.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003166/8.548, allocations: 0.8364 MB / 3.485 GB, free: 227.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.931e-05/8.548, allocations: 3.844 kB / 3.485 GB, free: 227.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001872/8.548, allocations: 0 / 3.485 GB, free: 227.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.363e-05/8.548, allocations: 29.47 kB / 3.485 GB, free: 227.3 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01216/8.56, allocations: 3.3 MB / 3.488 GB, free: 226.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001751/8.562, allocations: 454.9 kB / 3.488 GB, free: 226.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006607/8.563, allocations: 258.5 kB / 3.489 GB, free: 226 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002807/8.563, allocations: 103.4 kB / 3.489 GB, free: 225.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/8.563, allocations: 44.25 kB / 3.489 GB, free: 225.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=47): time 3.827e-06/8.563, allocations: 0 / 3.489 GB, free: 225.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=49): time 0.004799/8.568, allocations: 1.351 MB / 3.49 GB, free: 225.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/8.568, allocations: 58.84 kB / 3.49 GB, free: 225.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001318/8.57, allocations: 0.5155 MB / 3.491 GB, free: 225.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001864/8.57, allocations: 37.11 kB / 3.491 GB, free: 225.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003733/8.57, allocations: 381.8 kB / 3.491 GB, free: 225.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003615/8.571, allocations: 167.2 kB / 3.491 GB, free: 225 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.305e-05/8.571, allocations: 0 / 3.491 GB, free: 225 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002151/8.571, allocations: 376.9 kB / 3.491 GB, free: 224.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008701/8.572, allocations: 208.6 kB / 3.492 GB, free: 224.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001099/8.573, allocations: 344.1 kB / 3.492 GB, free: 224.6 MB / 0.948 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.008503/8.581, allocations: 0.9394 MB / 3.493 GB, free: 224.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.049e-05/8.581, allocations: 0 / 3.493 GB, free: 224.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00309/8.585, allocations: 0.7004 MB / 3.494 GB, free: 224.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.978e-05/8.585, allocations: 10.5 kB / 3.494 GB, free: 224.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/8.585, allocations: 0 / 3.494 GB, free: 224.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007846/8.585, allocations: 89.53 kB / 3.494 GB, free: 224.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001783/8.587, allocations: 128.6 kB / 3.494 GB, free: 224.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004519/8.592, allocations: 2.782 MB / 3.497 GB, free: 221.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002599/8.595, allocations: 45.98 kB / 3.497 GB, free: 221.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001376/8.595, allocations: 24.69 kB / 3.497 GB, free: 221.9 MB / 0.948 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: volDyn.dynBal.medium.p = volDyn.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 65 * 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: 0 * Non-linear torn systems: 2 {1 4,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003392/8.595, allocations: 120.9 kB / 3.497 GB, free: 221.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002976/8.595, allocations: 75.5 kB / 3.497 GB, free: 221.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003982/8.596, allocations: 92.59 kB / 3.497 GB, free: 221.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/8.596, allocations: 3.938 kB / 3.497 GB, free: 221.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/8.596, allocations: 3.656 kB / 3.497 GB, free: 221.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002109/8.598, allocations: 0.7876 MB / 3.498 GB, free: 221.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006229/8.604, allocations: 1.586 MB / 3.499 GB, free: 220.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.419e-05/8.604, allocations: 4.281 kB / 3.499 GB, free: 220.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001623/8.606, allocations: 114.9 kB / 3.499 GB, free: 220.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005795/8.607, allocations: 64.44 kB / 3.499 GB, free: 220.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.632e-05/8.607, allocations: 7.969 kB / 3.499 GB, free: 220.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002956/8.61, allocations: 1.516 MB / 3.501 GB, free: 219.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.215e-05/8.61, allocations: 6.031 kB / 3.501 GB, free: 219.7 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003494/8.613, allocations: 1.146 MB / 3.502 GB, free: 219.2 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004632/8.618, allocations: 1.856 MB / 3.504 GB, free: 218.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00102/8.619, allocations: 210.6 kB / 3.504 GB, free: 218.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002746/8.619, allocations: 11.39 kB / 3.504 GB, free: 218.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00228/8.622, allocations: 53.5 kB / 3.504 GB, free: 218.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001732/8.622, allocations: 35.3 kB / 3.504 GB, free: 218.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001412/8.622, allocations: 31.66 kB / 3.504 GB, free: 218.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001122/8.623, allocations: 401.5 kB / 3.505 GB, free: 218.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0052/8.628, allocations: 0.501 MB / 3.505 GB, free: 218.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.U,volDyn.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.003295/8.632, allocations: 1.434 MB / 3.506 GB, free: 217.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002396/8.634, allocations: 0.6911 MB / 3.507 GB, free: 217.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.389e-05/8.634, allocations: 3.469 kB / 3.507 GB, free: 217.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001019/8.635, allocations: 349 kB / 3.507 GB, free: 217.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004592/8.64, allocations: 452.8 kB / 3.508 GB, free: 217.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004664/8.645, allocations: 1.315 MB / 3.509 GB, free: 217 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001204/8.646, allocations: 1.172 MB / 3.51 GB, free: 216.3 MB / 0.948 GB Notification: Performance of SimCode: time 1.403e-06/8.646, allocations: 0 / 3.51 GB, free: 216.3 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-08 Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.fmu > Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1)