Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",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 7.0.3-maint.7.0.x/package.mo): time 1.256/1.256, allocations: 249.4 MB / 256.7 MB, free: 7.031 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001073/0.001072, allocations: 181.3 kB / 316 MB, free: 3.574 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.256/1.256, allocations: 205.2 MB / 0.5667 GB, free: 15.68 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000874/0.000874, allocations: 86.77 kB / 0.671 GB, free: 4.824 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3576/0.3585, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1652/0.5238, allocations: 106.3 MB / 0.8847 GB, free: 12.6 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.575/4.099, allocations: 2.203 GB / 3.087 GB, free: 202.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002122/4.099, allocations: 87.94 kB / 3.087 GB, free: 202.4 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 1.759/5.859, allocations: 0.5884 GB / 3.676 GB, free: 182.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/5.859, allocations: 10.41 kB / 3.676 GB, free: 182.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009506/5.86, allocations: 185.7 kB / 3.676 GB, free: 182.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001092/5.861, allocations: 0.5307 MB / 3.676 GB, free: 182.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000329/5.861, allocations: 100.7 kB / 3.677 GB, free: 182.4 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000115/5.861, allocations: 42.19 kB / 3.677 GB, free: 182.4 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006332/5.862, allocations: 328.1 kB / 3.677 GB, free: 182.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008321/5.863, allocations: 0.6363 MB / 3.678 GB, free: 182.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/5.863, allocations: 6.062 kB / 3.678 GB, free: 182.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.733e-05/5.863, allocations: 3.344 kB / 3.678 GB, free: 182.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.826e-05/5.863, allocations: 25.09 kB / 3.678 GB, free: 182.1 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003123/5.866, allocations: 4.054 MB / 3.682 GB, free: 179.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.383e-05/5.866, allocations: 100.5 kB / 3.682 GB, free: 179 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.831e-05/5.866, allocations: 68.61 kB / 3.682 GB, free: 178.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001616/5.866, allocations: 97.31 kB / 3.682 GB, free: 178.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/5.866, allocations: 37.72 kB / 3.682 GB, free: 178.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=10): time 1.703e-06/5.866, allocations: 0 / 3.682 GB, free: 178.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=10): time 0.0004764/5.867, allocations: 169.2 kB / 3.682 GB, free: 178.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.072e-05/5.867, allocations: 131.6 kB / 3.682 GB, free: 178.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004741/5.867, allocations: 450 kB / 3.683 GB, free: 178.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.44e-05/5.867, allocations: 25.7 kB / 3.683 GB, free: 178.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001591/5.868, allocations: 358.8 kB / 3.683 GB, free: 178.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.738e-05/5.868, allocations: 38.34 kB / 3.683 GB, free: 178.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.351e-05/5.868, allocations: 0 / 3.683 GB, free: 178.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.53e-05/5.868, allocations: 362.9 kB / 3.683 GB, free: 177.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001105/5.868, allocations: 72.52 kB / 3.683 GB, free: 177.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002042/5.868, allocations: 317.5 kB / 3.684 GB, free: 177.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002496/5.868, allocations: 142.2 kB / 3.684 GB, free: 177.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/5.868, allocations: 2.406 kB / 3.684 GB, free: 177.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005397/5.869, allocations: 374.5 kB / 3.684 GB, free: 177.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/5.869, allocations: 3.938 kB / 3.684 GB, free: 177.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/5.869, allocations: 7.062 kB / 3.684 GB, free: 177.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/5.869, allocations: 11.03 kB / 3.684 GB, free: 177.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003121/5.869, allocations: 98.7 kB / 3.684 GB, free: 177.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.314e-05/5.869, allocations: 14.44 kB / 3.684 GB, free: 177.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005767/5.87, allocations: 95.58 kB / 3.684 GB, free: 177.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-05/5.87, allocations: 26.78 kB / 3.684 GB, free: 177.6 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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 8.116e-05/5.87, allocations: 124 kB / 3.685 GB, free: 177.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001269/5.87, allocations: 50.81 kB / 3.685 GB, free: 177.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.121e-05/5.87, allocations: 53.31 kB / 3.685 GB, free: 177.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/5.87, allocations: 7.859 kB / 3.685 GB, free: 177.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/5.87, allocations: 0 / 3.685 GB, free: 177.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/5.87, allocations: 3.969 kB / 3.685 GB, free: 177.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009899/5.871, allocations: 1.035 MB / 3.686 GB, free: 176.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/5.871, allocations: 2.688 kB / 3.686 GB, free: 176.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.896e-05/5.871, allocations: 17.34 kB / 3.686 GB, free: 176.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/5.871, allocations: 9.812 kB / 3.686 GB, free: 176.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/5.871, allocations: 3.562 kB / 3.686 GB, free: 176.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/5.871, allocations: 6.25 kB / 3.686 GB, free: 176.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/5.871, allocations: 3.594 kB / 3.686 GB, free: 176.8 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002263/5.872, allocations: 350 kB / 3.686 GB, free: 176.5 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005384/5.872, allocations: 0.8063 MB / 3.687 GB, free: 175.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001593/5.872, allocations: 142.5 kB / 3.687 GB, free: 175.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.032e-05/5.872, allocations: 10.94 kB / 3.687 GB, free: 175.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002552/5.873, allocations: 22.86 kB / 3.687 GB, free: 175.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.988e-05/5.873, allocations: 11.16 kB / 3.687 GB, free: 175.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.674e-06/5.873, allocations: 7.344 kB / 3.687 GB, free: 175.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0002936/5.873, allocations: 337.9 kB / 3.687 GB, free: 175.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001873/5.875, allocations: 0.493 MB / 3.688 GB, free: 175.5 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (10): * Single equations (assignments): 10 * 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.002186/5.877, allocations: 1.938 MB / 3.69 GB, free: 175 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003089/5.877, allocations: 189.7 kB / 3.69 GB, free: 175 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/5.877, allocations: 0 / 3.69 GB, free: 175 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 5.295e-05/5.877, allocations: 45.73 kB / 3.69 GB, free: 175 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000824/5.878, allocations: 180.8 kB / 3.69 GB, free: 175 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001299/5.88, allocations: 0.7077 MB / 3.691 GB, free: 174.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005133/5.88, allocations: 0.9908 MB / 3.692 GB, free: 174 MB / 0.8698 GB Notification: Performance of SimCode: time 2.4e-07/5.88, allocations: 0 / 3.692 GB, free: 174 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1)