Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.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.MixingVolumeInitialization,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization",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.617/1.617, allocations: 289.8 MB / 297.1 MB, free: 6.645 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.001225/0.001225, allocations: 181.3 kB / 366.3 MB, free: 2 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.696/1.696, allocations: 205.1 MB / 0.6256 GB, free: 5.828 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.001082/0.001082, allocations: 91.61 kB / 0.7395 GB, free: 39.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3153/0.3165, allocations: 122.4 MB / 0.8591 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.777/1.094, allocations: 116.3 MB / 0.9726 GB, free: 68.52 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.951/6.045, allocations: 2.104 GB / 3.077 GB, free: 348.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003026/6.045, allocations: 91.91 kB / 3.077 GB, free: 348.9 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: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 1.505/7.55, allocations: 469.9 MB / 3.535 GB, free: 219.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.645e-05/7.55, allocations: 7.094 kB / 3.535 GB, free: 219.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002484/7.552, allocations: 304.9 kB / 3.536 GB, free: 219.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002939/7.555, allocations: 0.8435 MB / 3.537 GB, free: 219.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.249e-05/7.555, allocations: 21.41 kB / 3.537 GB, free: 219.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003444/7.556, allocations: 37.03 kB / 3.537 GB, free: 219.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001986/7.558, allocations: 0.8863 MB / 3.538 GB, free: 219.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002068/7.56, allocations: 0.8982 MB / 3.538 GB, free: 218.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.04e-05/7.56, allocations: 0 / 3.538 GB, free: 218.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00011/7.56, allocations: 3.969 kB / 3.538 GB, free: 218.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001091/7.56, allocations: 74.98 kB / 3.538 GB, free: 218.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006613/7.567, allocations: 3.439 MB / 3.542 GB, free: 216.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001473/7.568, allocations: 0.7233 MB / 3.543 GB, free: 216.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005832/7.569, allocations: 360.6 kB / 3.543 GB, free: 216.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003181/7.569, allocations: 199.1 kB / 3.543 GB, free: 216.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/7.569, allocations: 42.34 kB / 3.543 GB, free: 216.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=62): time 3.246e-06/7.569, allocations: 0.875 kB / 3.543 GB, free: 216.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=62): time 0.002314/7.572, allocations: 0.7499 MB / 3.544 GB, free: 215.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.826e-05/7.572, allocations: 117.1 kB / 3.544 GB, free: 215.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009391/7.573, allocations: 0.5537 MB / 3.544 GB, free: 215.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.086e-05/7.573, allocations: 25.7 kB / 3.545 GB, free: 215.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001797/7.573, allocations: 312.6 kB / 3.545 GB, free: 215.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001971/7.573, allocations: 210.3 kB / 3.545 GB, free: 215.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.269e-05/7.573, allocations: 0 / 3.545 GB, free: 215.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001132/7.573, allocations: 390.5 kB / 3.545 GB, free: 214.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004677/7.574, allocations: 309.5 kB / 3.546 GB, free: 214.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005715/7.574, allocations: 449.8 kB / 3.546 GB, free: 214.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006181/7.58, allocations: 1.345 MB / 3.547 GB, free: 214.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.354e-05/7.58, allocations: 0 / 3.547 GB, free: 214.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00745/7.588, allocations: 1.833 MB / 3.549 GB, free: 213.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002139/7.588, allocations: 0.8711 MB / 3.55 GB, free: 212.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/7.588, allocations: 6.469 kB / 3.55 GB, free: 212.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.318e-05/7.588, allocations: 5.156 kB / 3.55 GB, free: 212.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000796/7.589, allocations: 148 kB / 3.55 GB, free: 212.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.753e-05/7.589, allocations: 5.062 kB / 3.55 GB, free: 212.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001201/7.59, allocations: 79.94 kB / 3.55 GB, free: 212.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001352/7.59, allocations: 32.75 kB / 3.55 GB, free: 212.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/7.59, allocations: 4.906 kB / 3.55 GB, free: 212.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006958/7.597, allocations: 1.627 MB / 3.552 GB, free: 212.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/7.598, allocations: 4.922 kB / 3.552 GB, free: 212.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/7.598, allocations: 10.44 kB / 3.552 GB, free: 212.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008265/7.598, allocations: 137 kB / 3.552 GB, free: 212.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.643e-05/7.598, allocations: 10.17 kB / 3.552 GB, free: 212.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001192/7.6, allocations: 71.81 kB / 3.552 GB, free: 212.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001145/7.6, allocations: 30.5 kB / 3.552 GB, free: 212.4 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 86 * 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.000288/7.6, allocations: 113.8 kB / 3.552 GB, free: 212.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003445/7.6, allocations: 83.86 kB / 3.552 GB, free: 212.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00179/7.602, allocations: 0.7717 MB / 3.553 GB, free: 212 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.675e-06/7.602, allocations: 6.031 kB / 3.553 GB, free: 212 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/7.602, allocations: 6.625 kB / 3.553 GB, free: 212 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001152/7.603, allocations: 0.7307 MB / 3.554 GB, free: 211.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003696/7.607, allocations: 1.931 MB / 3.556 GB, free: 210.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/7.607, allocations: 2.812 kB / 3.556 GB, free: 210.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007576/7.608, allocations: 140.4 kB / 3.556 GB, free: 210.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-05/7.608, allocations: 8.609 kB / 3.556 GB, free: 210.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.824e-05/7.608, allocations: 6.375 kB / 3.556 GB, free: 210.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.919e-06/7.608, allocations: 14.5 kB / 3.556 GB, free: 210.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/7.608, allocations: 6.312 kB / 3.556 GB, free: 210.7 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002055/7.61, allocations: 1.528 MB / 3.557 GB, free: 209.8 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003279/7.613, allocations: 2.437 MB / 3.56 GB, free: 208.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007486/7.614, allocations: 248.1 kB / 3.56 GB, free: 208 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002634/7.614, allocations: 6.344 kB / 3.56 GB, free: 208 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009267/7.615, allocations: 43.31 kB / 3.56 GB, free: 208 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.835e-05/7.615, allocations: 40.77 kB / 3.56 GB, free: 208 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.403e-05/7.616, allocations: 25.91 kB / 3.56 GB, free: 208 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0008337/7.616, allocations: 432.5 kB / 3.561 GB, free: 207.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005643/7.622, allocations: 1.238 MB / 3.562 GB, free: 207.2 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 3 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 64 * 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.00379/7.626, allocations: 1.93 MB / 3.564 GB, free: 206.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001862/7.628, allocations: 1.128 MB / 3.565 GB, free: 206.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.656e-06/7.628, allocations: 2.906 kB / 3.565 GB, free: 206.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000482/7.628, allocations: 351.3 kB / 3.565 GB, free: 206.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002605/7.631, allocations: 428.5 kB / 3.565 GB, free: 206 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003889/7.635, allocations: 1.492 MB / 3.567 GB, free: 205.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001213/7.636, allocations: 1.191 MB / 3.568 GB, free: 204.7 MB / 0.948 GB Notification: Performance of SimCode: time 1.723e-06/7.636, allocations: 2.906 kB / 3.568 GB, free: 204.7 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization_fmu --startTime=0 --stopTime=0.001 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1)