Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.384/1.384, allocations: 285.5 MB / 292.8 MB, free: 10.47 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.001097/0.001097, allocations: 177.3 kB / 361.1 MB, free: 7.102 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.212/1.212, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.0008214/0.0008215, allocations: 91.86 kB / 0.7326 GB, free: 44.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2288/0.2296, allocations: 121.4 MB / 0.8511 GB, free: 2.902 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5216/0.7512, allocations: 115.3 MB / 0.9638 GB, free: 78.21 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.028/3.78, allocations: 2.083 GB / 3.047 GB, free: 62.97 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002217/3.78, allocations: 90.11 kB / 3.047 GB, free: 62.89 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 1.913/5.693, allocations: 0.6079 GB / 3.655 GB, free: 194.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/5.693, allocations: 8.5 kB / 3.655 GB, free: 194.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00117/5.694, allocations: 194.8 kB / 3.655 GB, free: 194.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001366/5.696, allocations: 0.5432 MB / 3.656 GB, free: 193.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003584/5.696, allocations: 97.25 kB / 3.656 GB, free: 193.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001419/5.696, allocations: 32 kB / 3.656 GB, free: 193.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006362/5.697, allocations: 326.5 kB / 3.656 GB, free: 193.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007926/5.698, allocations: 0.646 MB / 3.657 GB, free: 192.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/5.698, allocations: 3.938 kB / 3.657 GB, free: 192.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.619e-05/5.698, allocations: 4 kB / 3.657 GB, free: 192.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.023e-05/5.698, allocations: 24.69 kB / 3.657 GB, free: 192.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00318/5.701, allocations: 4.106 MB / 3.661 GB, free: 188.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.932e-05/5.701, allocations: 102.4 kB / 3.661 GB, free: 188.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.782e-05/5.701, allocations: 71.52 kB / 3.661 GB, free: 188.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001589/5.701, allocations: 97.09 kB / 3.661 GB, free: 188 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.706e-05/5.702, allocations: 34.56 kB / 3.661 GB, free: 188 MB / 0.948 GB Notification: Performance of pre-optimization done (n=10): time 3.086e-06/5.702, allocations: 0 / 3.661 GB, free: 188 MB / 0.948 GB Notification: Performance of matching and sorting (n=10): time 0.000488/5.702, allocations: 168.9 kB / 3.661 GB, free: 187.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/5.702, allocations: 132.6 kB / 3.662 GB, free: 187.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004983/5.703, allocations: 454.1 kB / 3.662 GB, free: 187.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.799e-05/5.703, allocations: 25.7 kB / 3.662 GB, free: 187.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000168/5.703, allocations: 354.8 kB / 3.662 GB, free: 186.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.688e-05/5.703, allocations: 47.06 kB / 3.662 GB, free: 186.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.261e-05/5.703, allocations: 0 / 3.662 GB, free: 186.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.612e-05/5.703, allocations: 354.8 kB / 3.663 GB, free: 186.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/5.703, allocations: 75.98 kB / 3.663 GB, free: 186.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002549/5.703, allocations: 320 kB / 3.663 GB, free: 185.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002591/5.704, allocations: 147.9 kB / 3.663 GB, free: 185.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/5.704, allocations: 0 / 3.663 GB, free: 185.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005775/5.704, allocations: 372.6 kB / 3.664 GB, free: 185.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/5.704, allocations: 6.969 kB / 3.664 GB, free: 185.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/5.704, allocations: 8 kB / 3.664 GB, free: 185.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.117e-05/5.704, allocations: 8 kB / 3.664 GB, free: 185.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003237/5.705, allocations: 100.5 kB / 3.664 GB, free: 185.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/5.705, allocations: 15.94 kB / 3.664 GB, free: 185.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006037/5.705, allocations: 99.47 kB / 3.664 GB, free: 185.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.436e-05/5.705, allocations: 28.05 kB / 3.664 GB, free: 185.1 MB / 0.948 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.029e-05/5.705, allocations: 122.9 kB / 3.664 GB, free: 185 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001236/5.706, allocations: 63.34 kB / 3.664 GB, free: 184.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.119e-05/5.706, allocations: 48.03 kB / 3.664 GB, free: 184.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/5.706, allocations: 4 kB / 3.664 GB, free: 184.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/5.706, allocations: 3.938 kB / 3.664 GB, free: 184.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/5.706, allocations: 0 / 3.664 GB, free: 184.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009626/5.707, allocations: 1.032 MB / 3.665 GB, free: 183.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/5.707, allocations: 4 kB / 3.665 GB, free: 183.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.059e-05/5.707, allocations: 23.92 kB / 3.665 GB, free: 183.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/5.707, allocations: 320 / 3.665 GB, free: 183.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/5.707, allocations: 8 kB / 3.665 GB, free: 183.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/5.707, allocations: 4 kB / 3.665 GB, free: 183.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/5.707, allocations: 4 kB / 3.665 GB, free: 183.7 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002436/5.707, allocations: 339.3 kB / 3.665 GB, free: 183.3 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000674/5.708, allocations: 0.8029 MB / 3.666 GB, free: 182.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000158/5.708, allocations: 144.4 kB / 3.666 GB, free: 182.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.255e-05/5.708, allocations: 7.984 kB / 3.666 GB, free: 182.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002507/5.708, allocations: 23.98 kB / 3.666 GB, free: 182.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.061e-05/5.708, allocations: 15.3 kB / 3.666 GB, free: 182.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.214e-06/5.708, allocations: 11.98 kB / 3.666 GB, free: 182.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0002875/5.709, allocations: 338.9 kB / 3.667 GB, free: 181.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00179/5.71, allocations: 0.4995 MB / 3.667 GB, free: 181.3 MB / 0.948 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.002164/5.712, allocations: 1.944 MB / 3.669 GB, free: 179.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002746/5.713, allocations: 187.7 kB / 3.669 GB, free: 179.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/5.713, allocations: 4 kB / 3.669 GB, free: 179.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.869e-05/5.713, allocations: 41.98 kB / 3.669 GB, free: 179.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000792/5.714, allocations: 184 kB / 3.67 GB, free: 179.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/5.715, allocations: 0.7041 MB / 3.67 GB, free: 178.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004379/5.715, allocations: 0.9938 MB / 3.671 GB, free: 177.3 MB / 0.948 GB Notification: Performance of SimCode: time 2.8e-07/5.715, allocations: 0 / 3.671 GB, free: 177.3 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1)