Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",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.349/1.349, allocations: 249.4 MB / 256.7 MB, free: 6.98 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.001201/0.001201, allocations: 192.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.245/1.245, allocations: 205.1 MB / 0.5667 GB, free: 15.59 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.0009491/0.000949, allocations: 94.31 kB / 0.671 GB, free: 4.719 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3453/0.3463, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1705/0.5168, allocations: 106.3 MB / 0.8847 GB, free: 12.52 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.751/4.267, allocations: 2.193 GB / 3.078 GB, free: 211.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002854/4.268, allocations: 83.95 kB / 3.078 GB, free: 211.2 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: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 1.657/5.925, allocations: 0.5515 GB / 3.629 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/5.925, allocations: 7.844 kB / 3.629 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001621/5.927, allocations: 333.1 kB / 3.629 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001178/5.928, allocations: 0.8168 MB / 3.63 GB, free: 195.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003072/5.928, allocations: 108.8 kB / 3.63 GB, free: 195.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001008/5.928, allocations: 54.17 kB / 3.63 GB, free: 195.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001006/5.929, allocations: 0.6983 MB / 3.631 GB, free: 195.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00116/5.93, allocations: 0.9053 MB / 3.632 GB, free: 195.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.271e-05/5.93, allocations: 2.969 kB / 3.632 GB, free: 195.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.7e-05/5.93, allocations: 3.906 kB / 3.632 GB, free: 195.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.416e-05/5.93, allocations: 33.88 kB / 3.632 GB, free: 195.4 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00429/5.935, allocations: 3.874 MB / 3.636 GB, free: 193.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005351/5.935, allocations: 360.4 kB / 3.636 GB, free: 193.5 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002353/5.936, allocations: 201.1 kB / 3.636 GB, free: 193.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001764/5.936, allocations: 103.8 kB / 3.636 GB, free: 193.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/5.936, allocations: 43.38 kB / 3.637 GB, free: 193.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=36): time 2.675e-06/5.936, allocations: 0 / 3.637 GB, free: 193.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=38): time 0.002119/5.938, allocations: 1.097 MB / 3.638 GB, free: 192.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.416e-05/5.938, allocations: 58.55 kB / 3.638 GB, free: 192.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005998/5.939, allocations: 0.5715 MB / 3.638 GB, free: 192.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.283e-05/5.939, allocations: 30.86 kB / 3.638 GB, free: 192.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001628/5.939, allocations: 415.2 kB / 3.639 GB, free: 192.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001013/5.939, allocations: 135.1 kB / 3.639 GB, free: 192.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.592e-05/5.939, allocations: 3.75 kB / 3.639 GB, free: 192.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.498e-05/5.939, allocations: 381.1 kB / 3.639 GB, free: 192.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002487/5.939, allocations: 187.3 kB / 3.639 GB, free: 192.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003311/5.94, allocations: 381.9 kB / 3.64 GB, free: 191.9 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.00157/5.941, allocations: 0.6834 MB / 3.64 GB, free: 191.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/5.941, allocations: 0 / 3.64 GB, free: 191.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0008906/5.942, allocations: 0.6192 MB / 3.641 GB, free: 191.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/5.942, allocations: 5.031 kB / 3.641 GB, free: 191.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/5.942, allocations: 7.625 kB / 3.641 GB, free: 191.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.183e-05/5.942, allocations: 11.53 kB / 3.641 GB, free: 191.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005569/5.943, allocations: 151.6 kB / 3.641 GB, free: 191.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.251e-05/5.943, allocations: 17 kB / 3.641 GB, free: 191.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008927/5.944, allocations: 85.66 kB / 3.641 GB, free: 191.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-05/5.944, allocations: 31.69 kB / 3.641 GB, free: 191.7 MB / 0.8698 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: volDyn.dynBal.medium.p = volDyn.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 71 * 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.0001615/5.944, allocations: 129.7 kB / 3.641 GB, free: 191.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/5.944, allocations: 79.78 kB / 3.641 GB, free: 191.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001747/5.944, allocations: 76.16 kB / 3.641 GB, free: 191.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/5.944, allocations: 3.406 kB / 3.641 GB, free: 191.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.828e-06/5.944, allocations: 0 / 3.641 GB, free: 191.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004907/5.945, allocations: 0.6551 MB / 3.642 GB, free: 191.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001942/5.947, allocations: 1.45 MB / 3.644 GB, free: 190.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/5.947, allocations: 3.781 kB / 3.644 GB, free: 190.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003881/5.947, allocations: 88.09 kB / 3.644 GB, free: 190.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/5.947, allocations: 3.875 kB / 3.644 GB, free: 190.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.596e-05/5.947, allocations: 12.92 kB / 3.644 GB, free: 190.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/5.947, allocations: 9.125 kB / 3.644 GB, free: 190.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/5.947, allocations: 8.094 kB / 3.644 GB, free: 190.7 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007735/5.948, allocations: 0.9918 MB / 3.645 GB, free: 190.2 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001228/5.949, allocations: 1.642 MB / 3.646 GB, free: 189.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002932/5.949, allocations: 221.6 kB / 3.646 GB, free: 189.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001139/5.95, allocations: 11.66 kB / 3.646 GB, free: 189.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006791/5.95, allocations: 53.94 kB / 3.647 GB, free: 189.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.472e-05/5.95, allocations: 33.44 kB / 3.647 GB, free: 189.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.903e-05/5.95, allocations: 27.91 kB / 3.647 GB, free: 189.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0004296/5.951, allocations: 443.7 kB / 3.647 GB, free: 189 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001743/5.953, allocations: 477.8 kB / 3.647 GB, free: 189 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],volDyn.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * 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.00159/5.954, allocations: 1.507 MB / 3.649 GB, free: 188.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0006256/5.955, allocations: 431.6 kB / 3.649 GB, free: 188.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/5.955, allocations: 3.391 kB / 3.649 GB, free: 188.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001894/5.955, allocations: 184.6 kB / 3.65 GB, free: 188.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001673/5.957, allocations: 394.4 kB / 3.65 GB, free: 188.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00242/5.959, allocations: 1.386 MB / 3.651 GB, free: 188.2 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006789/5.96, allocations: 1.207 MB / 3.652 GB, free: 187.4 MB / 0.8698 GB Notification: Performance of SimCode: time 6.81e-07/5.96, allocations: 2.875 kB / 3.652 GB, free: 187.4 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1)