Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.605/1.605, allocations: 289.8 MB / 297.1 MB, free: 6.711 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.001118/0.001118, allocations: 173.3 kB / 366.3 MB, free: 2.016 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.504/1.504, allocations: 205.2 MB / 0.6256 GB, free: 5.855 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.001013/0.001013, allocations: 92.75 kB / 0.7396 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2736/0.2746, allocations: 122.4 MB / 0.8591 GB, free: 13.31 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6826/0.9573, allocations: 116.3 MB / 0.9726 GB, free: 68.48 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.574/5.532, allocations: 2.085 GB / 3.058 GB, free: 355.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002134/5.532, allocations: 92.3 kB / 3.058 GB, free: 355.9 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 1.664/7.196, allocations: 0.5887 GB / 3.647 GB, free: 134.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/7.196, allocations: 8 kB / 3.647 GB, free: 134.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001588/7.197, allocations: 222.6 kB / 3.647 GB, free: 134.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001672/7.199, allocations: 0.6716 MB / 3.648 GB, free: 133.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.811e-05/7.199, allocations: 24 kB / 3.648 GB, free: 133.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001775/7.199, allocations: 48 kB / 3.648 GB, free: 133.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001057/7.2, allocations: 0.5272 MB / 3.648 GB, free: 132.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001178/7.201, allocations: 0.8 MB / 3.649 GB, free: 132 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.98e-05/7.202, allocations: 3.938 kB / 3.649 GB, free: 132 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.35e-05/7.202, allocations: 8 kB / 3.649 GB, free: 132 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.995e-05/7.202, allocations: 25.31 kB / 3.649 GB, free: 132 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004016/7.206, allocations: 4.45 MB / 3.653 GB, free: 127.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006853/7.206, allocations: 450.5 kB / 3.654 GB, free: 126.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000272/7.207, allocations: 218.8 kB / 3.654 GB, free: 126.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001891/7.207, allocations: 102.1 kB / 3.654 GB, free: 126.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/7.207, allocations: 42.56 kB / 3.654 GB, free: 126.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=43): time 2.304e-06/7.207, allocations: 0 / 3.654 GB, free: 126.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=45): time 0.002588/7.209, allocations: 1.328 MB / 3.656 GB, free: 125 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.308e-05/7.21, allocations: 118.8 kB / 3.656 GB, free: 124.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004467/7.21, allocations: 434.3 kB / 3.656 GB, free: 124.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.961e-05/7.21, allocations: 25.7 kB / 3.656 GB, free: 124.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/7.21, allocations: 351 kB / 3.656 GB, free: 124 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/7.21, allocations: 161.4 kB / 3.657 GB, free: 123.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.232e-05/7.21, allocations: 4 kB / 3.657 GB, free: 123.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.825e-05/7.21, allocations: 370.7 kB / 3.657 GB, free: 123.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002331/7.211, allocations: 169.3 kB / 3.657 GB, free: 123.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003217/7.211, allocations: 406.9 kB / 3.657 GB, free: 122.8 MB / 0.948 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.001573/7.213, allocations: 0.6475 MB / 3.658 GB, free: 122.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/7.213, allocations: 0 / 3.658 GB, free: 122.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008063/7.213, allocations: 0.5788 MB / 3.659 GB, free: 121.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/7.213, allocations: 12.12 kB / 3.659 GB, free: 121.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/7.213, allocations: 4 kB / 3.659 GB, free: 121.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.269e-05/7.213, allocations: 12 kB / 3.659 GB, free: 121.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004681/7.214, allocations: 119.8 kB / 3.659 GB, free: 121.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.88e-05/7.214, allocations: 15.94 kB / 3.659 GB, free: 121.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006273/7.215, allocations: 35.88 kB / 3.659 GB, free: 121.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.639e-05/7.215, allocations: 32 kB / 3.659 GB, free: 121.4 MB / 0.948 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.0001392/7.215, allocations: 122.5 kB / 3.659 GB, free: 121.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001472/7.215, allocations: 67.16 kB / 3.659 GB, free: 121.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001454/7.215, allocations: 73.81 kB / 3.659 GB, free: 121.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/7.215, allocations: 8.094 kB / 3.659 GB, free: 121.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/7.215, allocations: 3.984 kB / 3.659 GB, free: 121.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005436/7.216, allocations: 0.6686 MB / 3.66 GB, free: 120.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002071/7.218, allocations: 1.486 MB / 3.661 GB, free: 118.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/7.218, allocations: 4 kB / 3.661 GB, free: 118.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004885/7.218, allocations: 100.3 kB / 3.661 GB, free: 118.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-05/7.218, allocations: 12 kB / 3.661 GB, free: 118.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.374e-05/7.218, allocations: 12 kB / 3.661 GB, free: 118.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/7.218, allocations: 4 kB / 3.661 GB, free: 118.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/7.218, allocations: 7.938 kB / 3.661 GB, free: 118.6 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009489/7.219, allocations: 1.01 MB / 3.662 GB, free: 117.5 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001486/7.221, allocations: 1.703 MB / 3.664 GB, free: 115.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002676/7.221, allocations: 188.2 kB / 3.664 GB, free: 115.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/7.221, allocations: 11.86 kB / 3.664 GB, free: 115.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005251/7.222, allocations: 35.91 kB / 3.664 GB, free: 115.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.133e-05/7.222, allocations: 35.88 kB / 3.664 GB, free: 115.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.658e-05/7.222, allocations: 19.98 kB / 3.664 GB, free: 115.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0003351/7.222, allocations: 326.9 kB / 3.665 GB, free: 115 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002245/7.224, allocations: 0.4999 MB / 3.665 GB, free: 114.5 MB / 0.948 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.002512/7.227, allocations: 1.869 MB / 3.667 GB, free: 112.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0007604/7.228, allocations: 427.6 kB / 3.667 GB, free: 112.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/7.228, allocations: 5.562 kB / 3.667 GB, free: 112.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002387/7.228, allocations: 196.3 kB / 3.668 GB, free: 111.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001455/7.229, allocations: 297.4 kB / 3.668 GB, free: 111.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002379/7.232, allocations: 1.247 MB / 3.669 GB, free: 110.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006918/7.233, allocations: 1.113 MB / 3.67 GB, free: 109.2 MB / 0.948 GB Notification: Performance of SimCode: time 6.91e-07/7.233, allocations: 0 / 3.67 GB, free: 109.2 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)