Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",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.228/1.228, allocations: 249.4 MB / 256.7 MB, free: 6.949 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.001003/0.001003, allocations: 181.2 kB / 316 MB, free: 3.551 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.189/1.189, allocations: 205.2 MB / 0.5667 GB, free: 15.61 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.0009581/0.0009582, allocations: 94.28 kB / 0.671 GB, free: 4.727 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3484/0.3494, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1658/0.5152, allocations: 106.3 MB / 0.8847 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.916/4.431, allocations: 2.204 GB / 3.088 GB, free: 200.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002035/4.431, allocations: 87.95 kB / 3.088 GB, free: 200.8 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 1.765/6.196, allocations: 0.5751 GB / 3.664 GB, free: 179.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/6.196, allocations: 11.19 kB / 3.664 GB, free: 179.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001103/6.197, allocations: 223.2 kB / 3.664 GB, free: 179.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009835/6.198, allocations: 0.6779 MB / 3.664 GB, free: 179.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/6.198, allocations: 23.81 kB / 3.664 GB, free: 179.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.742e-05/6.198, allocations: 44.5 kB / 3.664 GB, free: 179.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007854/6.199, allocations: 0.5202 MB / 3.665 GB, free: 179.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009538/6.2, allocations: 0.8005 MB / 3.666 GB, free: 179.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.269e-05/6.2, allocations: 3.969 kB / 3.666 GB, free: 179.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.728e-05/6.2, allocations: 0 / 3.666 GB, free: 179.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.089e-05/6.2, allocations: 28.12 kB / 3.666 GB, free: 179.1 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003106/6.203, allocations: 4.458 MB / 3.67 GB, free: 176 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006427/6.204, allocations: 447 kB / 3.671 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002503/6.204, allocations: 222.1 kB / 3.671 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001729/6.204, allocations: 99.27 kB / 3.671 GB, free: 175.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.992e-05/6.204, allocations: 41.59 kB / 3.671 GB, free: 175.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=43): time 2.835e-06/6.204, allocations: 0 / 3.671 GB, free: 175.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=45): time 0.002386/6.207, allocations: 1.336 MB / 3.672 GB, free: 175.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.344e-05/6.207, allocations: 112.8 kB / 3.672 GB, free: 175 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004305/6.207, allocations: 437.3 kB / 3.673 GB, free: 174.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.437e-05/6.207, allocations: 25.7 kB / 3.673 GB, free: 174.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001332/6.208, allocations: 355.2 kB / 3.673 GB, free: 174.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001021/6.208, allocations: 158.2 kB / 3.673 GB, free: 174.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.054e-05/6.208, allocations: 0 / 3.673 GB, free: 174.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.513e-05/6.208, allocations: 372.8 kB / 3.674 GB, free: 174.3 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002076/6.208, allocations: 166.6 kB / 3.674 GB, free: 174.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002968/6.208, allocations: 395.1 kB / 3.674 GB, free: 174.1 MB / 0.8698 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001361/6.21, allocations: 0.6338 MB / 3.675 GB, free: 174 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/6.21, allocations: 2.375 kB / 3.675 GB, free: 174 MB / 0.8698 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0007186/6.21, allocations: 0.5818 MB / 3.675 GB, free: 173.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/6.21, allocations: 9.078 kB / 3.675 GB, free: 173.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/6.21, allocations: 12.34 kB / 3.675 GB, free: 173.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/6.21, allocations: 7.469 kB / 3.675 GB, free: 173.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004209/6.211, allocations: 128.9 kB / 3.675 GB, free: 173.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/6.211, allocations: 13.91 kB / 3.676 GB, free: 173.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005445/6.211, allocations: 38.33 kB / 3.676 GB, free: 173.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.392e-05/6.212, allocations: 35.11 kB / 3.676 GB, free: 173.9 MB / 0.8698 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: vol.dynBal.medium.p = vol.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * 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.000111/6.212, allocations: 123.2 kB / 3.676 GB, free: 173.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000124/6.212, allocations: 69.62 kB / 3.676 GB, free: 173.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001303/6.212, allocations: 73.77 kB / 3.676 GB, free: 173.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/6.212, allocations: 3.156 kB / 3.676 GB, free: 173.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/6.212, allocations: 0 / 3.676 GB, free: 173.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004814/6.212, allocations: 0.6635 MB / 3.676 GB, free: 173.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001775/6.214, allocations: 1.483 MB / 3.678 GB, free: 172.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/6.214, allocations: 5.688 kB / 3.678 GB, free: 172.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004435/6.215, allocations: 102.3 kB / 3.678 GB, free: 172.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.083e-06/6.215, allocations: 4.375 kB / 3.678 GB, free: 172.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.06e-05/6.215, allocations: 11.28 kB / 3.678 GB, free: 172.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/6.215, allocations: 7.812 kB / 3.678 GB, free: 172.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/6.215, allocations: 5.656 kB / 3.678 GB, free: 172.7 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008361/6.216, allocations: 1.02 MB / 3.679 GB, free: 172.2 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001318/6.217, allocations: 1.7 MB / 3.681 GB, free: 171.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002191/6.217, allocations: 184.6 kB / 3.681 GB, free: 171.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.851e-05/6.217, allocations: 14.05 kB / 3.681 GB, free: 171.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004599/6.218, allocations: 32.72 kB / 3.681 GB, free: 171.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.88e-05/6.218, allocations: 38.48 kB / 3.681 GB, free: 171.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.137e-05/6.218, allocations: 25.2 kB / 3.681 GB, free: 171.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0003048/6.218, allocations: 329.5 kB / 3.681 GB, free: 171 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001847/6.22, allocations: 0.4962 MB / 3.682 GB, free: 171 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 5 (vol.dynBal.U,vol.dynBal.mXi[1],vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 45 * 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.002164/6.222, allocations: 1.877 MB / 3.684 GB, free: 170.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0006864/6.223, allocations: 431.5 kB / 3.684 GB, free: 170.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/6.223, allocations: 3.938 kB / 3.684 GB, free: 170.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002203/6.223, allocations: 193.2 kB / 3.684 GB, free: 170.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001378/6.224, allocations: 305 kB / 3.685 GB, free: 170.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001965/6.226, allocations: 1.264 MB / 3.686 GB, free: 170.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000546/6.227, allocations: 1.108 MB / 3.687 GB, free: 169.4 MB / 0.8698 GB Notification: Performance of SimCode: time 2.91e-07/6.227, allocations: 0 / 3.687 GB, free: 169.4 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)