Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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.MixingVolumeMassFlow,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.394/2.394, allocations: 284.8 MB / 292.1 MB, free: 10.73 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.001694/0.001694, allocations: 177.3 kB / 360.3 MB, free: 7.531 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.896/1.896, allocations: 205.1 MB / 0.6187 GB, free: 12.43 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.001264/0.001263, allocations: 89.98 kB / 0.7317 GB, free: 44.99 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2949/0.2962, allocations: 121.4 MB / 0.8502 GB, free: 3.789 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8023/1.099, allocations: 115.2 MB / 0.9628 GB, free: 9.914 MB / 0.6823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.634/6.733, allocations: 2.071 GB / 3.034 GB, free: 344.4 MB / 1.104 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003477/6.733, allocations: 86.98 kB / 3.034 GB, free: 344.4 MB / 1.104 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.9734/7.706, allocations: 259.3 MB / 3.288 GB, free: 145.6 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 5.538e-05/7.706, allocations: 12 kB / 3.288 GB, free: 145.6 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002604/7.709, allocations: 187 kB / 3.288 GB, free: 145.4 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001759/7.711, allocations: 0.5157 MB / 3.288 GB, free: 144.8 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.362e-05/7.711, allocations: 15.91 kB / 3.288 GB, free: 144.8 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001109/7.711, allocations: 28 kB / 3.288 GB, free: 144.8 MB / 1.104 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001126/7.712, allocations: 369.9 kB / 3.289 GB, free: 144.4 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001217/7.713, allocations: 456.1 kB / 3.289 GB, free: 144 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.953e-05/7.714, allocations: 0 / 3.289 GB, free: 144 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.972e-05/7.714, allocations: 0 / 3.289 GB, free: 144 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.984e-05/7.714, allocations: 20.94 kB / 3.289 GB, free: 144 MB / 1.104 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004209/7.718, allocations: 1.618 MB / 3.291 GB, free: 142.2 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000483/7.718, allocations: 190.3 kB / 3.291 GB, free: 142 MB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003468/7.719, allocations: 168.1 kB / 3.291 GB, free: 141.9 MB / 1.104 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002664/7.719, allocations: 101.3 kB / 3.291 GB, free: 141.8 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/7.719, allocations: 34.8 kB / 3.291 GB, free: 141.7 MB / 1.104 GB Notification: Performance of pre-optimization done (n=28): time 3.106e-06/7.719, allocations: 4 kB / 3.291 GB, free: 141.7 MB / 1.104 GB Notification: Performance of matching and sorting (n=29): time 0.002859/7.722, allocations: 0.8351 MB / 3.292 GB, free: 140.8 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.941e-05/7.722, allocations: 55.41 kB / 3.292 GB, free: 140.8 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004737/7.723, allocations: 290.1 kB / 3.292 GB, free: 140.5 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 5.351e-05/7.723, allocations: 25.7 kB / 3.292 GB, free: 140.4 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/7.723, allocations: 219.9 kB / 3.293 GB, free: 140.2 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001051/7.723, allocations: 102.5 kB / 3.293 GB, free: 140.1 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.343e-05/7.723, allocations: 4 kB / 3.293 GB, free: 140.1 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 9.527e-05/7.723, allocations: 350.7 kB / 3.293 GB, free: 139.8 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002841/7.723, allocations: 112.6 kB / 3.293 GB, free: 139.6 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003425/7.724, allocations: 194.4 kB / 3.293 GB, free: 139.4 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003619/7.724, allocations: 147.9 kB / 3.293 GB, free: 139.3 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/7.724, allocations: 0 / 3.293 GB, free: 139.3 MB / 1.104 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009288/7.725, allocations: 361.5 kB / 3.294 GB, free: 138.9 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/7.725, allocations: 8.25 kB / 3.294 GB, free: 138.9 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/7.725, allocations: 4 kB / 3.294 GB, free: 138.9 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.457e-05/7.725, allocations: 4 kB / 3.294 GB, free: 138.9 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005969/7.726, allocations: 71.84 kB / 3.294 GB, free: 138.8 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/7.726, allocations: 4 kB / 3.294 GB, free: 138.8 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008352/7.727, allocations: 19.89 kB / 3.294 GB, free: 138.8 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-05/7.727, allocations: 15.94 kB / 3.294 GB, free: 138.8 MB / 1.104 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 0.0001558/7.727, allocations: 120.9 kB / 3.294 GB, free: 138.7 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001167/7.727, allocations: 43.53 kB / 3.294 GB, free: 138.6 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001962/7.727, allocations: 44.25 kB / 3.294 GB, free: 138.6 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/7.727, allocations: 7.938 kB / 3.294 GB, free: 138.6 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/7.727, allocations: 0 / 3.294 GB, free: 138.6 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006547/7.728, allocations: 368.3 kB / 3.294 GB, free: 138.2 MB / 1.104 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002337/7.73, allocations: 1.051 MB / 3.295 GB, free: 137 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.254e-06/7.73, allocations: 8.062 kB / 3.295 GB, free: 137 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006719/7.731, allocations: 63.91 kB / 3.295 GB, free: 137 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.426e-05/7.731, allocations: 12 kB / 3.296 GB, free: 137 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.894e-05/7.731, allocations: 4 kB / 3.296 GB, free: 137 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.785e-06/7.731, allocations: 7.984 kB / 3.296 GB, free: 136.9 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/7.731, allocations: 4 kB / 3.296 GB, free: 136.9 MB / 1.104 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001262/7.732, allocations: 0.784 MB / 3.296 GB, free: 136 MB / 1.104 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001801/7.734, allocations: 1.362 MB / 3.298 GB, free: 134.5 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004022/7.735, allocations: 164.5 kB / 3.298 GB, free: 134.4 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001074/7.735, allocations: 4 kB / 3.298 GB, free: 134.4 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007801/7.736, allocations: 19.98 kB / 3.298 GB, free: 134.3 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.15e-05/7.736, allocations: 27.94 kB / 3.298 GB, free: 134.3 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.7e-05/7.736, allocations: 15.98 kB / 3.298 GB, free: 134.3 MB / 1.104 GB Notification: Performance of sort global known variables: time 0.000354/7.736, allocations: 228.6 kB / 3.298 GB, free: 134.1 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.002617/7.739, allocations: 288 kB / 3.298 GB, free: 133.8 MB / 1.104 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.001799/7.741, allocations: 1.085 MB / 3.299 GB, free: 132.7 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.000838/7.741, allocations: 279.7 kB / 3.3 GB, free: 132.4 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/7.741, allocations: 4 kB / 3.3 GB, free: 132.4 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.0002906/7.742, allocations: 137 kB / 3.3 GB, free: 132.3 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002345/7.744, allocations: 255 kB / 3.3 GB, free: 132 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002155/7.746, allocations: 0.778 MB / 3.301 GB, free: 131.2 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006471/7.747, allocations: 0.9357 MB / 3.302 GB, free: 130.2 MB / 1.104 GB Notification: Performance of SimCode: time 1.522e-06/7.747, allocations: 0 / 3.302 GB, free: 130.2 MB / 1.104 GB (rm -f Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1)