Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.69/2.69, allocations: 284.8 MB / 292.1 MB, free: 9.887 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.00319/0.00319, allocations: 181.2 kB / 360.3 MB, free: 1.012 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.059/2.059, allocations: 205.1 MB / 0.6187 GB, free: 3.332 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001427/0.001426, allocations: 97.73 kB / 0.7317 GB, free: 1.812 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.6154/0.6168, allocations: 121.4 MB / 0.8502 GB, free: 149.9 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2299/0.8468, allocations: 115.3 MB / 0.9628 GB, free: 57.01 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.458/6.305, allocations: 2.084 GB / 3.047 GB, free: 157.3 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003288/6.305, allocations: 90.88 kB / 3.047 GB, free: 157.2 MB / 0.9323 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 3.004/9.31, allocations: 0.5887 GB / 3.636 GB, free: 200.7 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/9.31, allocations: 11.44 kB / 3.636 GB, free: 200.7 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002064/9.312, allocations: 220.8 kB / 3.636 GB, free: 200.6 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002267/9.314, allocations: 0.6684 MB / 3.637 GB, free: 200.4 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.142e-05/9.314, allocations: 23.78 kB / 3.637 GB, free: 200.4 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001554/9.314, allocations: 52.03 kB / 3.637 GB, free: 200.4 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001616/9.316, allocations: 0.5203 MB / 3.637 GB, free: 200.4 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001858/9.318, allocations: 0.8019 MB / 3.638 GB, free: 200.1 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.638e-05/9.318, allocations: 5.969 kB / 3.638 GB, free: 200.1 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001024/9.318, allocations: 3.906 kB / 3.638 GB, free: 200.1 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.421e-05/9.318, allocations: 30.95 kB / 3.638 GB, free: 200.1 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006995/9.325, allocations: 4.454 MB / 3.642 GB, free: 197 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001268/9.326, allocations: 444.8 kB / 3.643 GB, free: 197 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004957/9.327, allocations: 221.2 kB / 3.643 GB, free: 196.9 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002716/9.327, allocations: 107.1 kB / 3.643 GB, free: 196.8 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/9.327, allocations: 38.41 kB / 3.643 GB, free: 196.8 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=43): time 4.318e-06/9.327, allocations: 0 / 3.643 GB, free: 196.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=45): time 0.004277/9.332, allocations: 1.329 MB / 3.645 GB, free: 196.2 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/9.332, allocations: 110.6 kB / 3.645 GB, free: 196.1 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007833/9.332, allocations: 434.7 kB / 3.645 GB, free: 196 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 7.385e-05/9.333, allocations: 25.7 kB / 3.645 GB, free: 196 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002157/9.333, allocations: 349.4 kB / 3.645 GB, free: 195.8 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002489/9.333, allocations: 162.7 kB / 3.646 GB, free: 195.7 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.435e-05/9.333, allocations: 0 / 3.646 GB, free: 195.7 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001356/9.333, allocations: 371.6 kB / 3.646 GB, free: 195.4 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004444/9.334, allocations: 164.2 kB / 3.646 GB, free: 195.4 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005979/9.334, allocations: 403.6 kB / 3.646 GB, free: 195.1 MB / 0.9323 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.002897/9.337, allocations: 0.6543 MB / 3.647 GB, free: 195 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/9.337, allocations: 0 / 3.647 GB, free: 195 MB / 0.9323 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0015/9.339, allocations: 0.5773 MB / 3.648 GB, free: 195 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/9.339, allocations: 3.875 kB / 3.648 GB, free: 195 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/9.339, allocations: 9.625 kB / 3.648 GB, free: 195 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.716e-05/9.339, allocations: 17.75 kB / 3.648 GB, free: 195 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009106/9.34, allocations: 122.7 kB / 3.648 GB, free: 195 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.032e-05/9.34, allocations: 21.11 kB / 3.648 GB, free: 195 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00125/9.341, allocations: 35.47 kB / 3.648 GB, free: 195 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.671e-05/9.341, allocations: 30.34 kB / 3.648 GB, free: 194.9 MB / 0.9323 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.0002141/9.341, allocations: 130.9 kB / 3.648 GB, free: 194.8 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001975/9.342, allocations: 61.03 kB / 3.648 GB, free: 194.8 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002783/9.342, allocations: 76 kB / 3.648 GB, free: 194.8 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/9.342, allocations: 10.62 kB / 3.648 GB, free: 194.8 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.839e-06/9.342, allocations: 0 / 3.648 GB, free: 194.8 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009524/9.343, allocations: 0.6645 MB / 3.649 GB, free: 194.4 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00348/9.346, allocations: 1.476 MB / 3.65 GB, free: 193.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.037e-05/9.347, allocations: 3.281 kB / 3.65 GB, free: 193.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000927/9.347, allocations: 101.9 kB / 3.65 GB, free: 193.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.58e-05/9.347, allocations: 14.41 kB / 3.65 GB, free: 193.8 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.652e-05/9.348, allocations: 3.906 kB / 3.65 GB, free: 193.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-05/9.348, allocations: 11.03 kB / 3.65 GB, free: 193.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/9.348, allocations: 11.75 kB / 3.65 GB, free: 193.8 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001787/9.349, allocations: 1.004 MB / 3.651 GB, free: 193.3 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002656/9.352, allocations: 1.708 MB / 3.653 GB, free: 192.3 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005979/9.353, allocations: 185.7 kB / 3.653 GB, free: 192.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001444/9.353, allocations: 6.781 kB / 3.653 GB, free: 192.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009457/9.354, allocations: 33.86 kB / 3.653 GB, free: 192.2 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.811e-05/9.354, allocations: 38.22 kB / 3.653 GB, free: 192.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.147e-05/9.354, allocations: 21.41 kB / 3.653 GB, free: 192.2 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.0005896/9.355, allocations: 327.3 kB / 3.654 GB, free: 192.1 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003123/9.358, allocations: 0.5027 MB / 3.654 GB, free: 192.1 MB / 0.9323 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.003157/9.361, allocations: 1.872 MB / 3.656 GB, free: 191.6 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001393/9.362, allocations: 437.8 kB / 3.656 GB, free: 191.6 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 7.976e-06/9.362, allocations: 0 / 3.656 GB, free: 191.6 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0004393/9.363, allocations: 194.7 kB / 3.657 GB, free: 191.6 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002768/9.366, allocations: 299.9 kB / 3.657 GB, free: 191.6 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003655/9.369, allocations: 1.243 MB / 3.658 GB, free: 191.2 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001041/9.37, allocations: 1.119 MB / 3.659 GB, free: 190.5 MB / 0.9323 GB Notification: Performance of SimCode: time 1.623e-06/9.37, allocations: 0 / 3.659 GB, free: 190.5 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)