Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.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.MixingVolumeSteadyStateMass,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass",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.359/2.359, allocations: 284.8 MB / 292.1 MB, free: 1.121 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001702/0.001701, allocations: 182.4 kB / 360.3 MB, free: 15.49 MB / 290.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.007/2.007, allocations: 205.1 MB / 0.6187 GB, free: 6.363 MB / 466.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001215/0.001214, allocations: 100 kB / 0.7317 GB, free: 47.01 MB / 0.5184 GB Notification: Performance of FrontEnd - loaded program: time 0.29/0.2913, allocations: 121.4 MB / 0.8502 GB, free: 13.35 MB / 0.5965 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6799/0.9713, allocations: 115.2 MB / 0.9627 GB, free: 86.22 MB / 0.6746 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.849/5.82, allocations: 2.075 GB / 3.038 GB, free: 19.45 MB / 0.9402 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002753/5.821, allocations: 81.39 kB / 3.038 GB, free: 19.41 MB / 0.9402 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 1.684/7.504, allocations: 367.6 MB / 3.397 GB, free: 31.87 MB / 0.9402 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/7.505, allocations: 8 kB / 3.397 GB, free: 31.86 MB / 0.9402 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001689/7.506, allocations: 183 kB / 3.397 GB, free: 31.68 MB / 0.9402 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001556/7.508, allocations: 0.5638 MB / 3.398 GB, free: 31.08 MB / 0.9402 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.754e-05/7.508, allocations: 15.94 kB / 3.398 GB, free: 31.06 MB / 0.9402 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.993e-05/7.508, allocations: 28 kB / 3.398 GB, free: 31.04 MB / 0.9402 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009881/7.509, allocations: 353.9 kB / 3.398 GB, free: 30.69 MB / 0.9402 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009537/7.51, allocations: 368.5 kB / 3.398 GB, free: 30.32 MB / 0.9402 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.94e-05/7.51, allocations: 0 / 3.398 GB, free: 30.32 MB / 0.9402 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.758e-05/7.51, allocations: 4 kB / 3.398 GB, free: 30.32 MB / 0.9402 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.66e-05/7.51, allocations: 17 kB / 3.398 GB, free: 30.3 MB / 0.9402 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004058/7.514, allocations: 1.95 MB / 3.4 GB, free: 28.21 MB / 0.9402 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003919/7.515, allocations: 186.3 kB / 3.4 GB, free: 28.02 MB / 0.9402 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003447/7.515, allocations: 160.8 kB / 3.401 GB, free: 27.86 MB / 0.9402 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003867/7.515, allocations: 198.7 kB / 3.401 GB, free: 27.63 MB / 0.9402 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/7.515, allocations: 38.56 kB / 3.401 GB, free: 27.58 MB / 0.9402 GB Notification: Performance of pre-optimization done (n=30): time 2.716e-06/7.515, allocations: 0 / 3.401 GB, free: 27.58 MB / 0.9402 GB Notification: Performance of matching and sorting (n=30): time 0.001562/7.517, allocations: 381.8 kB / 3.401 GB, free: 27.2 MB / 0.9402 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.543e-05/7.517, allocations: 59.41 kB / 3.401 GB, free: 27.13 MB / 0.9402 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007542/7.518, allocations: 325.2 kB / 3.402 GB, free: 26.8 MB / 0.9402 GB Notification: Performance of collectPreVariables (initialization): time 7.337e-05/7.518, allocations: 29.7 kB / 3.402 GB, free: 26.77 MB / 0.9402 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001895/7.518, allocations: 220 kB / 3.402 GB, free: 26.55 MB / 0.9402 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001751/7.518, allocations: 98.56 kB / 3.402 GB, free: 26.45 MB / 0.9402 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.562e-05/7.518, allocations: 4 kB / 3.402 GB, free: 26.45 MB / 0.9402 GB Notification: Performance of setup shared object (initialization): time 0.0001036/7.518, allocations: 350.8 kB / 3.402 GB, free: 26.09 MB / 0.9402 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002784/7.519, allocations: 108 kB / 3.402 GB, free: 25.99 MB / 0.9402 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003382/7.519, allocations: 189.3 kB / 3.403 GB, free: 25.77 MB / 0.9402 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003746/7.519, allocations: 148.3 kB / 3.403 GB, free: 25.62 MB / 0.9402 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/7.52, allocations: 0 / 3.403 GB, free: 25.62 MB / 0.9402 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008644/7.52, allocations: 351.1 kB / 3.403 GB, free: 25.28 MB / 0.9402 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001331/7.521, allocations: 0.5215 MB / 3.404 GB, free: 24.71 MB / 0.9402 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/7.521, allocations: 7.938 kB / 3.404 GB, free: 24.71 MB / 0.9402 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.606e-05/7.521, allocations: 7.906 kB / 3.404 GB, free: 24.7 MB / 0.9402 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006833/7.521, allocations: 75.89 kB / 3.404 GB, free: 24.62 MB / 0.9402 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/7.521, allocations: 0 / 3.404 GB, free: 24.62 MB / 0.9402 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001053/7.522, allocations: 47.75 kB / 3.404 GB, free: 24.58 MB / 0.9402 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-05/7.522, allocations: 19.98 kB / 3.404 GB, free: 24.56 MB / 0.9402 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/7.522, allocations: 4 kB / 3.404 GB, free: 24.55 MB / 0.9402 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007701/7.523, allocations: 271.8 kB / 3.404 GB, free: 24.29 MB / 0.9402 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/7.523, allocations: 7.938 kB / 3.404 GB, free: 24.28 MB / 0.9402 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/7.523, allocations: 3.906 kB / 3.404 GB, free: 24.28 MB / 0.9402 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006021/7.524, allocations: 75.89 kB / 3.404 GB, free: 24.2 MB / 0.9402 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/7.524, allocations: 4 kB / 3.404 GB, free: 24.2 MB / 0.9402 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000968/7.525, allocations: 43.97 kB / 3.404 GB, free: 24.16 MB / 0.9402 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.852e-05/7.525, allocations: 16 kB / 3.404 GB, free: 24.14 MB / 0.9402 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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.0001517/7.525, allocations: 116.8 kB / 3.404 GB, free: 24.02 MB / 0.9402 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001263/7.525, allocations: 47.44 kB / 3.404 GB, free: 23.97 MB / 0.9402 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001103/7.526, allocations: 359.7 kB / 3.405 GB, free: 23.61 MB / 0.9402 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/7.526, allocations: 4 kB / 3.405 GB, free: 23.61 MB / 0.9402 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.799e-06/7.526, allocations: 3.984 kB / 3.405 GB, free: 23.61 MB / 0.9402 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008093/7.527, allocations: 413.7 kB / 3.405 GB, free: 23.17 MB / 0.9402 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002409/7.53, allocations: 1.022 MB / 3.406 GB, free: 22.08 MB / 0.9402 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.191e-06/7.53, allocations: 4 kB / 3.406 GB, free: 22.07 MB / 0.9402 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005909/7.53, allocations: 63.95 kB / 3.406 GB, free: 22.01 MB / 0.9402 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003221/7.531, allocations: 48.98 kB / 3.406 GB, free: 21.96 MB / 0.9402 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.875e-05/7.531, allocations: 12 kB / 3.406 GB, free: 21.95 MB / 0.9402 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001519/7.532, allocations: 1.385 MB / 3.407 GB, free: 20.45 MB / 0.9402 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-06/7.532, allocations: 7.844 kB / 3.407 GB, free: 20.45 MB / 0.9402 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001386/7.534, allocations: 0.7329 MB / 3.408 GB, free: 19.63 MB / 0.9402 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002003/7.536, allocations: 1.341 MB / 3.409 GB, free: 18.2 MB / 0.9402 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004232/7.536, allocations: 160.4 kB / 3.41 GB, free: 18.03 MB / 0.9402 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/7.536, allocations: 8 kB / 3.41 GB, free: 18.02 MB / 0.9402 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000828/7.537, allocations: 36.08 kB / 3.41 GB, free: 17.98 MB / 0.9402 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.76e-05/7.537, allocations: 23.95 kB / 3.41 GB, free: 17.96 MB / 0.9402 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.017e-05/7.537, allocations: 12 kB / 3.41 GB, free: 17.95 MB / 0.9402 GB Notification: Performance of sort global known variables: time 0.0004167/7.538, allocations: 255.2 kB / 3.41 GB, free: 17.7 MB / 0.9402 GB Notification: Performance of remove unused functions: time 0.004196/7.542, allocations: 0.6319 MB / 3.411 GB, free: 17.07 MB / 0.9402 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (28): * Single equations (assignments): 27 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002106/7.544, allocations: 1.27 MB / 3.412 GB, free: 15.77 MB / 0.9402 GB Notification: Performance of simCode: created initialization part: time 0.001171/7.545, allocations: 458.6 kB / 3.412 GB, free: 15.32 MB / 0.9402 GB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/7.545, allocations: 0 / 3.412 GB, free: 15.32 MB / 0.9402 GB Notification: Performance of simCode: created simulation system equations: time 0.0005898/7.546, allocations: 253.5 kB / 3.412 GB, free: 15.07 MB / 0.9402 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002673/7.549, allocations: 277.5 kB / 3.413 GB, free: 14.8 MB / 0.9402 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002369/7.551, allocations: 0.812 MB / 3.414 GB, free: 13.94 MB / 0.9402 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007447/7.552, allocations: 0.9593 MB / 3.414 GB, free: 12.96 MB / 0.9402 GB Notification: Performance of SimCode: time 1.503e-06/7.552, allocations: 0 / 3.414 GB, free: 12.96 MB / 0.9402 GB (rm -f Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass.fmu > Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe 2>&1)