Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",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.1-maint.8.0.x/package.mo): time 1.402/1.402, allocations: 285.5 MB / 292.8 MB, free: 9.805 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.001014/0.001014, allocations: 179.6 kB / 361.1 MB, free: 412 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.192/1.192, allocations: 205.1 MB / 0.6195 GB, free: 2.914 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008891/0.0008893, allocations: 93.84 kB / 0.7326 GB, free: 1.137 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.4566/0.4575, allocations: 121.4 MB / 0.8511 GB, free: 151.5 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1984/0.656, allocations: 115.3 MB / 0.9638 GB, free: 56.32 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.568/4.224, allocations: 2.072 GB / 3.035 GB, free: 211.5 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000232/4.224, allocations: 91.94 kB / 3.036 GB, free: 211.4 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.8592/5.084, allocations: 259.2 MB / 3.289 GB, free: 260.9 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/5.084, allocations: 14.53 kB / 3.289 GB, free: 260.9 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00112/5.085, allocations: 180.1 kB / 3.289 GB, free: 260.9 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007456/5.085, allocations: 0.5132 MB / 3.289 GB, free: 260.7 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/5.086, allocations: 18.84 kB / 3.289 GB, free: 260.7 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.122e-05/5.086, allocations: 26.09 kB / 3.289 GB, free: 260.7 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005462/5.086, allocations: 368.9 kB / 3.29 GB, free: 260.7 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005859/5.087, allocations: 447.4 kB / 3.29 GB, free: 260.6 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/5.087, allocations: 0 / 3.29 GB, free: 260.6 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.422e-05/5.087, allocations: 7.719 kB / 3.29 GB, free: 260.6 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.469e-05/5.087, allocations: 12.53 kB / 3.29 GB, free: 260.6 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001951/5.089, allocations: 1.63 MB / 3.292 GB, free: 259.9 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000229/5.089, allocations: 192.3 kB / 3.292 GB, free: 259.9 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001698/5.089, allocations: 161.5 kB / 3.292 GB, free: 259.9 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001539/5.089, allocations: 98.16 kB / 3.292 GB, free: 259.8 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.723e-05/5.089, allocations: 40.73 kB / 3.292 GB, free: 259.8 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=28): time 1.352e-06/5.089, allocations: 0 / 3.292 GB, free: 259.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=29): time 0.001395/5.091, allocations: 0.8345 MB / 3.293 GB, free: 259.4 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.96e-05/5.091, allocations: 58.84 kB / 3.293 GB, free: 259.4 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002465/5.091, allocations: 295.5 kB / 3.293 GB, free: 259.2 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.732e-05/5.091, allocations: 29.05 kB / 3.293 GB, free: 259.2 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 7.615e-05/5.091, allocations: 222.9 kB / 3.294 GB, free: 259.1 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 5.818e-05/5.091, allocations: 101.1 kB / 3.294 GB, free: 259 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.403e-05/5.091, allocations: 0 / 3.294 GB, free: 259 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 6.946e-05/5.091, allocations: 346.3 kB / 3.294 GB, free: 258.7 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001403/5.092, allocations: 111.2 kB / 3.294 GB, free: 258.7 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001764/5.092, allocations: 198.6 kB / 3.294 GB, free: 258.6 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001807/5.092, allocations: 150.3 kB / 3.295 GB, free: 258.6 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-06/5.092, allocations: 0 / 3.295 GB, free: 258.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000432/5.092, allocations: 365.5 kB / 3.295 GB, free: 258.6 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/5.092, allocations: 9.906 kB / 3.295 GB, free: 258.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/5.092, allocations: 3.688 kB / 3.295 GB, free: 258.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/5.092, allocations: 6.875 kB / 3.295 GB, free: 258.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002843/5.093, allocations: 70.45 kB / 3.295 GB, free: 258.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/5.093, allocations: 11.23 kB / 3.295 GB, free: 258.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003779/5.093, allocations: 14.47 kB / 3.295 GB, free: 258.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.531e-05/5.093, allocations: 17.19 kB / 3.295 GB, free: 258.6 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * 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 7.657e-05/5.093, allocations: 108.9 kB / 3.295 GB, free: 258.5 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.802e-05/5.093, allocations: 45.69 kB / 3.295 GB, free: 258.4 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.201e-05/5.093, allocations: 49.67 kB / 3.295 GB, free: 258.4 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/5.093, allocations: 3.375 kB / 3.295 GB, free: 258.4 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/5.093, allocations: 0 / 3.295 GB, free: 258.4 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003344/5.094, allocations: 365.6 kB / 3.296 GB, free: 258.3 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001178/5.095, allocations: 1.047 MB / 3.297 GB, free: 257.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/5.095, allocations: 0 / 3.297 GB, free: 257.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003316/5.095, allocations: 69.78 kB / 3.297 GB, free: 257.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/5.095, allocations: 2.438 kB / 3.297 GB, free: 257.9 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.29e-05/5.095, allocations: 16 kB / 3.297 GB, free: 257.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/5.095, allocations: 7.344 kB / 3.297 GB, free: 257.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/5.095, allocations: 8.125 kB / 3.297 GB, free: 257.9 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006381/5.096, allocations: 0.7767 MB / 3.297 GB, free: 257.4 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000967/5.097, allocations: 1.367 MB / 3.299 GB, free: 256.6 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001691/5.097, allocations: 153.3 kB / 3.299 GB, free: 256.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.574e-05/5.097, allocations: 12.56 kB / 3.299 GB, free: 256.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004063/5.098, allocations: 28.69 kB / 3.299 GB, free: 256.5 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.477e-05/5.098, allocations: 20.59 kB / 3.299 GB, free: 256.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.347e-05/5.098, allocations: 20.81 kB / 3.299 GB, free: 256.5 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.0001956/5.098, allocations: 224.8 kB / 3.299 GB, free: 256.4 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001398/5.099, allocations: 300.9 kB / 3.299 GB, free: 256.4 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 2 (vol.dynBal.U,vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 29 * 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.001144/5.1, allocations: 1.086 MB / 3.301 GB, free: 256.2 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0004077/5.101, allocations: 284 kB / 3.301 GB, free: 256.2 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/5.101, allocations: 0 / 3.301 GB, free: 256.2 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0001577/5.101, allocations: 137.3 kB / 3.301 GB, free: 256.2 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001126/5.102, allocations: 246.1 kB / 3.301 GB, free: 256.2 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001309/5.104, allocations: 0.7816 MB / 3.302 GB, free: 255.9 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004162/5.104, allocations: 0.9454 MB / 3.303 GB, free: 255.2 MB / 0.9323 GB Notification: Performance of SimCode: time 1.182e-06/5.104, allocations: 0 / 3.303 GB, free: 255.2 MB / 0.9323 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1)